Sha256: 21223ed9a4b0dd7b630bccf33c9c2f0afbf3927f209315c5583bcdbf642be8dc

Contents?: true

Size: 401 Bytes

Versions: 3

Compression:

Stored size: 401 Bytes

Contents

<h1>Tests</h1>

<ul>
  <% @files.group_by{|file| File.dirname(file)}.each do |dir_group| %>
    <li><%= dir_group.first.split('/').last %><ul>
      <% dir_group.last.each do |file| %>
        <li>
          <%= link_to(file.split('/').last.split('.').first, file.gsub(File.join(Rails.root, 'app', 'views'), '').gsub('.html.erb', '')) %>
        </li>
      <% end %>
    </ul></li>
  <% end %>
</ul>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tableficate-0.3.2 spec/test_app/app/views/tests/index.html.erb
tableficate-0.3.1 spec/test_app/app/views/tests/index.html.erb
tableficate-0.3.0 spec/test_app/app/views/tests/index.html.erb