app/controllers/hyrax/stats_controller.rb in hyrax-2.0.3 vs app/controllers/hyrax/stats_controller.rb in hyrax-2.1.0.beta1

- old
+ new

@@ -3,9 +3,12 @@ include Hyrax::SingularSubresourceController include Hyrax::Breadcrumbs before_action :build_breadcrumbs, only: [:work, :file] + # TODO: New reporting features FlipFlop pattern: + # Flipflop.enabled?(:analytics_redesign) + def work @stats = Hyrax::WorkUsage.new(params[:id]) end def file