<% if request.fullpath == studien_path%>
  • <% else %>
  • <% end %> <%= link_to "Alle Studien", studien_path %>
  • <% for s in Studium.all %> <% if !@studium.nil? && s == @studium %>
  • <%= link_to s.name, s %>
  • <% else %>
  • <%= link_to s.name, s %>
  • <% end %> <% end %> <% if request.fullpath == studien_verwalten_path %>
  • <% else %>
  • <% end %> <%= link_to "Verwaltung", studien_verwalten_path %>