Sha256: c9889d6216bce12989a54d4b16c3bcf6e2a137ea2de05b7312b3b6fe0c5426f1

Contents?: true

Size: 548 Bytes

Versions: 12

Compression:

Stored size: 548 Bytes

Contents

module Hyrax
  module Admin
    class FeaturesController < Flipflop::FeaturesController
      layout 'dashboard'

      before_action do
        authorize! :manage, Hyrax::Feature
      end

      def index
        add_breadcrumb t(:'hyrax.controls.home'), root_path
        add_breadcrumb t(:'hyrax.dashboard.breadcrumbs.admin'), hyrax.dashboard_path
        add_breadcrumb t(:'hyrax.admin.sidebar.configuration'), '#'
        add_breadcrumb t(:'hyrax.admin.sidebar.technical'), hyrax.admin_features_path
        super
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hyrax-2.0.3 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.2 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.1 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.0 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.0.rc3 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.0.rc2 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.0.rc1 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.0.beta5 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.0.beta4 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.0.beta3 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.0.beta2 app/controllers/hyrax/admin/features_controller.rb
hyrax-2.0.0.beta1 app/controllers/hyrax/admin/features_controller.rb