Fix wiki menu item breadcrumb

pull/700/head
Till Breuer 11 years ago
parent 8aca9db5f2
commit dea2696411
  1. 2
      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)) %>
<h2><%= l(:wiki_menu_item_for, :title => @page_title) %></h2>
<%= 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| %>

Loading…
Cancel
Save