Sha256: b618bca89df879558f0edfb8e734a92e8e8c80c84f8ae1d0e86c23731906ca18

Contents?: true

Size: 363 Bytes

Versions: 8

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true
module Hyrax
  module Admin
    class StrategiesController < Flipflop::StrategiesController
      before_action do
        authorize! :manage, Hyrax::Feature
      end

      # TODO: we could remove this if we used an isolated engine
      def features_url(*args)
        hyrax.admin_features_path(*args)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/controllers/hyrax/admin/strategies_controller.rb
hyrax-5.0.0 app/controllers/hyrax/admin/strategies_controller.rb
hyrax-5.0.0.rc3 app/controllers/hyrax/admin/strategies_controller.rb
hyrax-5.0.0.rc2 app/controllers/hyrax/admin/strategies_controller.rb
hyrax-5.0.0.rc1 app/controllers/hyrax/admin/strategies_controller.rb
hyrax-4.0.0 app/controllers/hyrax/admin/strategies_controller.rb
hyrax-4.0.0.rc3 app/controllers/hyrax/admin/strategies_controller.rb
hyrax-4.0.0.rc2 app/controllers/hyrax/admin/strategies_controller.rb