Module: Hyrax::BreadcrumbsForWorks::ClassMethods
- Defined in:
- app/controllers/concerns/hyrax/breadcrumbs_for_works.rb
Instance Method Summary collapse
-
#curation_concern_type=(curation_concern_type) ⇒ Object
We don’t want the breadcrumb action to occur until after the concern has been loaded and authorized.
Instance Method Details
#curation_concern_type=(curation_concern_type) ⇒ Object
We don’t want the breadcrumb action to occur until after the concern has been loaded and authorized
9 10 11 12 13 |
# File 'app/controllers/concerns/hyrax/breadcrumbs_for_works.rb', line 9 def curation_concern_type=(curation_concern_type) super before_action :build_breadcrumbs, only: [:edit, :show] before_action :save_permissions, only: :update end |