Sha256: 9e271d0fd3dd39d39ec788e2360b4a8eb07007afbd5c285baa37a5c253fa72bb
Contents?: true
Size: 1.09 KB
Versions: 4
Compression:
Stored size: 1.09 KB
Contents
# Include this module into any of your Controller classes to add Hydra functionality # # The primary function of this module is to mix in a number of other Hydra Modules, including # Hydra::AccessControlsEnforcement # # @example # class CustomHydraController < ApplicationController # include Hydra::Controller # end # # will move to lib/hydra/controller/controller_behavior in release 5.x module Hydra::Controller autoload :AssetsControllerBehavior, 'hydra/controller/assets_controller_behavior' autoload :CatalogControllerBehavior, 'hydra/controller/catalog_controller_behavior' autoload :ControllerBehavior, 'hydra/controller/controller_behavior' autoload :RepositoryControllerBehavior, 'hydra/controller/repository_controller_behavior' autoload :UploadBehavior, 'hydra/controller/upload_behavior' autoload :FileAssetsBehavior, 'hydra/controller/file_assets_behavior' extend ActiveSupport::Concern included do ActiveSupport::Deprecation.warn("Hydra::Controller has been renamed Hydra::Controller::ControllerBehavior.") include Hydra::Controller::ControllerBehavior end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hydra-head-4.1.3 | lib/hydra/controller.rb |
hydra-head-4.1.2 | lib/hydra/controller.rb |
hydra-head-4.1.1 | lib/hydra/controller.rb |
hydra-head-4.1.0 | lib/hydra/controller.rb |