Sha256: 834c24b4aaecc6e4beb7138c85ed3c99da40b6792ead3acd86e9fa5fa9dc8db6

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

<h1>Listing foos</h1>

<table>
  <thead>
    <tr>
      <th>Bar</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @foos.each do |foo| %>
      <tr>
        <td><%= foo.bar %></td>
        <td><%= link_to 'Show', foo %></td>
        <td><%= link_to 'Edit', edit_foo_path(foo) %></td>
        <td><%= link_to 'Destroy', foo, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Foo', new_foo_path %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
before_actions-2.0.3 spec/dummy/app/views/foos/index.html.erb
before_actions-2.0.2 spec/dummy/app/views/foos/index.html.erb
before_actions-2.0.1 spec/dummy/app/views/foos/index.html.erb
before_actions-2.0.0 spec/dummy/app/views/foos/index.html.erb
before_actions-1.0.3 spec/dummy/app/views/foos/index.html.erb