From 25d900c78791906c1a514f61b29ebddbe4647270 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 4 Jul 2011 19:56:38 +0000 Subject: Adds breadcrumb on all wiki page views. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6182 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/show.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/wiki/show.rhtml') diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index 9b2f2de28..307633990 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -11,7 +11,7 @@ <%= link_to_if_authorized(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %> -<%= breadcrumb(@page.ancestors.reverse.collect {|parent| link_to h(parent.pretty_title), {:id => parent.title, :project_id => parent.project}}) %> +<%= wiki_page_breadcrumb(@page) %> <% if @content.version != @page.content.version %>

-- cgit v1.2.3