aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/breadcrumb_helper.rb
diff options
context:
space:
mode:
authorVlatka Pavisic2016-12-30 16:44:30 +0100
committerVlatka Pavisic2016-12-30 16:44:30 +0100
commitad71715b42f5278fb46cedec874cb7e9a4fe3cf3 (patch)
tree67cd1473f7f3c6d7e08401050bceddb16d3daeae /app/helpers/breadcrumb_helper.rb
parentadfb4aebfab39b5a7a4b9a70ac62f639567aead6 (diff)
downloadchouette-core-ad71715b42f5278fb46cedec874cb7e9a4fe3cf3.tar.bz2
Refs #2262 Refs #2263 Refs #2264 Refs #2265 : Calendars 80% done
Diffstat (limited to 'app/helpers/breadcrumb_helper.rb')
-rw-r--r--app/helpers/breadcrumb_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/breadcrumb_helper.rb b/app/helpers/breadcrumb_helper.rb
index d764ad60f..da8cf8425 100644
--- a/app/helpers/breadcrumb_helper.rb
+++ b/app/helpers/breadcrumb_helper.rb
@@ -73,7 +73,7 @@ module BreadcrumbHelper
end
def calendar_breadcrumb(action)
- add_breadcrumb Calendar.model_name.human.pluralize
+ add_breadcrumb I18n.t('calendars.index.title')
add_breadcrumb @calendar.name if %i(show edit).include? action
end