app/presenters/hyrax/file_set_presenter.rb in hyrax-2.1.0.beta1 vs app/presenters/hyrax/file_set_presenter.rb in hyrax-2.1.0.beta2
- old
+ new
@@ -63,10 +63,10 @@
return if solr_document.license.nil?
solr_document.license.first
end
def stats_path
- Hyrax::Engine.routes.url_helpers.stats_file_path(self)
+ Hyrax::Engine.routes.url_helpers.stats_file_path(self, locale: I18n.locale)
end
def events(size = 100)
super(size)
end