Sha256: fd9a4c5c2dca7fa6eac0203c4594cf226c92b3c7af78d1e69c53d8dbcac5de92

Contents?: true

Size: 571 Bytes

Versions: 5

Compression:

Stored size: 571 Bytes

Contents

<h1>Listing permissions</h1>

<table>
  <tr>
    <th>Resource</th>
    <th>Action</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @permissions.each do |permission| %>
  <tr>
    <td><%= permission.resource %></td>
    <td><%= permission.action %></td>
    <td><%= link_to 'Show', permission %></td>
    <td><%= link_to 'Edit', edit_permission_path(permission) %></td>
    <td><%= link_to 'Destroy', permission, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Permission', new_permission_path %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
caboose-cms-0.0.7 app/views/caboose/permissions/index.html.erb
caboose-cms-0.0.5 app/views/caboose/permissions/index.html.erb
caboose-cms-0.0.4 app/views/caboose/permissions/index.html.erb
caboose-cms-0.0.3 app/views/caboose/permissions/index.html.erb
caboose-cms-0.0.2 app/views/caboose/permissions/index.html.erb