Class: Hyrax::StatsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Hyrax::StatsController
- Includes:
- Breadcrumbs, SingularSubresourceController
- Defined in:
- app/controllers/hyrax/stats_controller.rb
Instance Method Summary collapse
- #file ⇒ Object
-
#work ⇒ Object
TODO: New reporting features FlipFlop pattern: Flipflop.enabled?(:analytics_redesign).
Methods included from Breadcrumbs
#build_breadcrumbs, #default_trail, #trail_from_referer
Methods included from SingularSubresourceController
Methods included from DenyAccessOverrideBehavior
Instance Method Details
#file ⇒ Object
15 16 17 |
# File 'app/controllers/hyrax/stats_controller.rb', line 15 def file @stats = Hyrax::FileUsage.new(params[:id]) end |
#work ⇒ Object
TODO: New reporting features FlipFlop pattern: Flipflop.enabled?(:analytics_redesign)
11 12 13 |
# File 'app/controllers/hyrax/stats_controller.rb', line 11 def work @stats = Hyrax::WorkUsage.new(params[:id]) end |