Sha256: 58b6f5f4e1db7caf908f9bfab941c7773565fc1d6d7324b334c2affc6e3a940b

Contents?: true

Size: 462 Bytes

Versions: 9

Compression:

Stored size: 462 Bytes

Contents

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

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

      def index
        add_breadcrumb t(:'hyrax.controls.home'), root_path
        add_breadcrumb t(:'hyrax.toolbar.admin.menu'), hyrax.admin_path
        add_breadcrumb t(:'hyrax.admin.sidebar.settings'), hyrax.admin_features_path
        super
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hyrax-1.1.1 app/controllers/hyrax/admin/features_controller.rb
hyrax-1.1.0 app/controllers/hyrax/admin/features_controller.rb
hyrax-1.0.5 app/controllers/hyrax/admin/features_controller.rb
hyrax-1.0.4 app/controllers/hyrax/admin/features_controller.rb
hyrax-1.0.3 app/controllers/hyrax/admin/features_controller.rb
hyrax-1.0.2 app/controllers/hyrax/admin/features_controller.rb
hyrax-1.0.1 app/controllers/hyrax/admin/features_controller.rb
hyrax-1.0.0.rc2 app/controllers/hyrax/admin/features_controller.rb
hyrax-1.0.0.rc1 app/controllers/hyrax/admin/features_controller.rb