• > <%= link_to I18n.t('calendars.alle') , calendars_path %>
  • <% for c in Calendar.all %>
  • title="<%= c.name %>"> <%= link_to c.name, c %>
  • <% end %> <% if can?(:verwalten,Calendar) %> <% if request.fullpath == calendars_verwalten_path %>
  • <% else %>
  • <% end %> <%= link_to "Verwaltung", calendars_verwalten_path %>
  • <% end %>