diff --git a/app/views/wiki_menu_items/edit.html.erb b/app/views/wiki_menu_items/edit.html.erb index ec3ee67b36..6634de8c3d 100644 --- a/app/views/wiki_menu_items/edit.html.erb +++ b/app/views/wiki_menu_items/edit.html.erb @@ -29,7 +29,7 @@ See doc/COPYRIGHT.rdoc for more details. <%= error_messages_for "wiki_menu_item", :object => @wiki_menu_item %> -<% breadcrumb_paths(*@page.ancestors.reverse.collect {|parent| link_to h(parent.pretty_title), {:id => parent.title, :project_id => parent.project}}.push(@page)) %> +<% breadcrumb_paths(*@page.ancestors.reverse.collect {|parent| link_to h(parent.pretty_title), {:id => parent.title, :project_id => parent.project}}.push(@page_title)) %>

<%= l(:wiki_menu_item_for, :title => @page_title) %>

<%= form_for @wiki_menu_item, :html => {:id => 'wiki_menu_item_form', :class => 'menu-item-form', :method => :put}, :url => wiki_menu_item_path(@project, @page) do |form| %>