Sha256: 65e7c3cfb6c5b7ac6d2a86f44b25d7e4e490f9cdfe05b8fb4ce2130bf59fa54c
Contents?: true
Size: 768 Bytes
Versions: 97
Compression:
Stored size: 768 Bytes
Contents
<table class="table_as_list"> <tr> <th>Name</th> <th>Permission</th> </tr> <% for site_controller in site_controllers %> <tr class="depth0"> <td><%= link_to site_controller.name, :action => 'show', :id => site_controller %></td> <td><%= site_controller.permission.name %></td> </tr> <% actions = site_controller.controller_actions if actions.length -%> <% for action in actions %> <tr class="depth1"><td><div class="menu_title"><%= link_to action.name, :controller => 'controller_actions', :action => 'show', :id => action.id %></div></td> <td><%= if action.permission_id action.permission.name else "" end %></td></tr> <% end -%> <% end -%> <% end %> </table>
Version data entries
97 entries across 97 versions & 2 rubygems