Sha256: 709d9d89da631bd4ee2f81fb05e37b6b0540aa7049e12fb5d52dc5c69d1a5fca
Contents?: true
Size: 305 Bytes
Versions: 2
Compression:
Stored size: 305 Bytes
Contents
module Sufia module Admin module StatsBehavior extend ActiveSupport::Concern def index stats_filters = params.fetch(:stats_filters, {}) limit = params.fetch(:limit, "5").to_i @presenter = AdminStatsPresenter.new(stats_filters, limit) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sufia-7.0.0.beta2 | app/controllers/concerns/sufia/admin/stats_behavior.rb |
sufia-7.0.0.beta1 | app/controllers/concerns/sufia/admin/stats_behavior.rb |