Add breadcrumb nav for the forums (#892).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1299 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2008-03-27 18:41:42 +00:00
1 parent 8960200409
commit b9e380c9fe
4 files changed
+11 -1

No files matched your search

+4
View File
@@ -156,6 +156,10 @@ module ApplicationHelper
links.size > 1 ? l(:label_display_per_page, links.join(', ')) : nil
end
def breadcrumb(*args)
content_tag('p', args.join(' » ') + ' » ', :class => 'breadcrumb')
end
def html_title(*args)
if args.empty?
title = []