app/presenters/hyrax/file_usage.rb in hyrax-3.0.2 vs app/presenters/hyrax/file_usage.rb in hyrax-3.1.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
-# Called by the stats controller, it finds cached file pageview data,
-# and prepares it for visualization in /app/views/stats/file.html.erb
module Hyrax
+ ##
+ # Called by the stats controller, it finds cached file pageview data,
+ # and prepares it for visualization in /app/views/stats/file.html.erb
class FileUsage < StatsUsagePresenter
def initialize(id)
self.model = ::FileSet.find(id)
end