Merge pull request #161 from opf/feature/rails3_translations

Feature/rails3 fix breadcrumb translations
pull/158/merge
cratz 12 years ago
commit e3ef6dd817
  1. 6
      app/controllers/issues/calendars_controller.rb
  2. 4
      app/controllers/wiki_controller.rb

@ -46,4 +46,10 @@ class Issues::CalendarsController < ApplicationController
render :layout => !request.xhr?
end
private
def default_breadcrumb
l(:label_calendar)
end
end

@ -342,4 +342,8 @@ private
def load_pages_for_index
@pages = @wiki.pages.with_updated_on.all(:order => 'title', :include => {:wiki => :project})
end
def default_breadcrumb
Wiki.name.humanize
end
end

Loading…
Cancel
Save