app/controllers/hyrax/dashboard/works_controller.rb in hyrax-3.0.0.pre.rc1 vs app/controllers/hyrax/dashboard/works_controller.rb in hyrax-3.0.0.pre.rc2
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
module Hyrax
module Dashboard
## Shows a list of all works to the admins
class WorksController < Hyrax::My::WorksController
# Search builder for a list of works
@@ -8,16 +9,16 @@
Hyrax::Dashboard::WorksSearchBuilder
end
private
- def search_action_url(*args)
- hyrax.dashboard_works_url(*args)
- end
+ def search_action_url(*args)
+ hyrax.dashboard_works_url(*args)
+ end
- # The url of the "more" link for additional facet values
- def search_facet_path(args = {})
- hyrax.dashboard_works_facet_path(args[:id])
- end
+ # The url of the "more" link for additional facet values
+ def search_facet_path(args = {})
+ hyrax.dashboard_works_facet_path(args[:id])
+ end
end
end
end