remove link to current page in navigation → path → stuff

This commit is contained in:
jomo
2014-10-02 23:11:07 +02:00
parent be6ccf5e7b
commit b91bb8e0aa
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<% title "Edit Forum: #{@forum.name}" %>
<%= link_to "(Edit) #{@forum.group.name}", edit_forumgroup_path(@forum.group) %> → <%= link_to @forum.name, @forum %>
<%= link_to "(Edit) #{@forum.group.name}", edit_forumgroup_path(@forum.group) %> → <%= @forum.name %>
<h1>Edit Forum</h1>
<% role_selection = Role.all_from_to(:normal, :admin).collect{|p|[p.name, p.id]} %>
<%= form_for @forum do |f|%>

View File

@@ -1,6 +1,6 @@
<% title @forum.name %>
<%= link_to @forum.group, forumgroup_path(@forum.group) %> → <%= link_to @forum %>
<%= link_to @forum.group, forumgroup_path(@forum.group) %> → <%= @forum %>
<h1><%= @forum %></h1>
<% if @forum.can_write?(current_user) %>