Permission: <%=h @permission.name %>

Actions for Permission: <%=@permission.name%>

<% if @actions.length > 0 -%> <% else -%>

(none)

<% end -%>

<%= link_to 'Show all Actions', :controller => 'controller_actions', :action => 'list' %>


Pages for Permission: <%=@permission.name%>

<% if @pages.length > 0 -%> <% else -%>

(none)

<% end -%>

<%= link_to 'Show all Pages', :controller => 'content_pages', :action => 'list' %>


<%= link_to 'Edit', :action => 'edit', :id => @permission %> | <%= link_to 'Delete', {:action => 'destroy', :id => @permission}, :confirm => 'Are you sure?', :method => 'post' %>

<%= link_to 'Back', :action => 'list' %> to Permissions list