Class: Decidim::Conferences::Admin::ComponentShareTokensController
- Inherits:
-
Admin::ShareTokensController
- Object
- Admin::ShareTokensController
- Decidim::Conferences::Admin::ComponentShareTokensController
- Defined in:
- app/controllers/decidim/conferences/admin/component_share_tokens_controller.rb
Overview
This controller allows sharing unpublished things. It is targeted for customizations for sharing unpublished things that lives under an conference.
Instance Method Summary collapse
Instance Method Details
#resource ⇒ Object
12 13 14 |
# File 'app/controllers/decidim/conferences/admin/component_share_tokens_controller.rb', line 12 def resource @resource ||= current_participatory_space.components.find(params[:component_id]) end |