Sha256: 21f07248b19208f7406e268757af23a07b214e57ca26b7ce1c89467fe5f13a53

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 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(**_kargs)
        hyrax.admin_features_path
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/controllers/hyrax/admin/strategies_controller.rb