Method: Sufia::Breadcrumbs#add_breadcrumb_for_controller
- Defined in:
- app/controllers/concerns/sufia/breadcrumbs.rb
#add_breadcrumb_for_controller ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'app/controllers/concerns/sufia/breadcrumbs.rb', line 31 def case controller_name when /files|batch/ I18n.t('sufia.dashboard.my.files'), sufia.dashboard_files_path when /collections/ I18n.t('sufia.dashboard.my.collections'), sufia.dashboard_collections_path end end |