Module: CurationConcerns::AdminControllerBehavior
- Extended by:
- ActiveSupport::Concern
- Included in:
- AdminController
- Defined in:
- app/controllers/concerns/curation_concerns/admin_controller_behavior.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
10 11 12 13 |
# File 'app/controllers/concerns/curation_concerns/admin_controller_behavior.rb', line 10 def index @resource_statistics = @configuration.fetch(:data_sources).fetch(:resource_stats).new render 'index' end |
#repository ⇒ Object
19 20 21 |
# File 'app/controllers/concerns/curation_concerns/admin_controller_behavior.rb', line 19 def repository @repository ||= ::CatalogController.new.repository end |
#search_builder ⇒ Object
15 16 17 |
# File 'app/controllers/concerns/curation_concerns/admin_controller_behavior.rb', line 15 def search_builder @search_builder ||= ::CatalogController.new.search_builder end |
#workflow ⇒ Object
23 24 25 |
# File 'app/controllers/concerns/curation_concerns/admin_controller_behavior.rb', line 23 def workflow @status_list = CurationConcerns::Workflow::StatusListService.new(current_user) end |