forked from bofh/fetsite
Rechtemanagement integriert in views
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<%= link_to c.name, c %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if can?(:verwalten,Calendar) %>
|
||||
<% if request.fullpath == calendars_verwalten_path %>
|
||||
<li class="active pull-right">
|
||||
<% else %>
|
||||
@@ -13,4 +14,5 @@
|
||||
<% end %>
|
||||
<%= link_to "Verwaltung", calendars_verwalten_path %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user