app/controllers/hyrax/stats_controller.rb in hyrax-1.1.1 vs app/controllers/hyrax/stats_controller.rb in hyrax-2.0.0.beta1
- old
+ new
@@ -11,13 +11,13 @@
def file
@stats = Hyrax::FileUsage.new(params[:id])
end
- protected
+ private
def add_breadcrumb_for_controller
- add_breadcrumb I18n.t('hyrax.dashboard.my.works'), hyrax.dashboard_works_path
+ add_breadcrumb I18n.t('hyrax.dashboard.my.works'), hyrax.my_works_path
end
def add_breadcrumb_for_action
case action_name
when 'file'.freeze