Module: Sufia::WorksControllerBehavior::ClassMethods
- Defined in:
- app/controllers/concerns/sufia/works_controller_behavior.rb
Instance Method Summary collapse
-
#curation_concern_type=(curation_concern_type) ⇒ Object
We don’t want the actions to occur until after the concern has been loaded and authorized.
Instance Method Details
#curation_concern_type=(curation_concern_type) ⇒ Object
Note:
this is a terribly side-effecty kludge
We don’t want the actions to occur until after the concern has been loaded and authorized
14 15 16 17 18 |
# File 'app/controllers/concerns/sufia/works_controller_behavior.rb', line 14 def curation_concern_type=(curation_concern_type) super before_action :build_breadcrumbs, only: [:edit, :show] before_action :save_permissions, only: :update end |