Class: Decidim::Assemblies::Admin::ComponentShareTokensController
- Inherits:
-
Decidim::Admin::ShareTokensController
- Object
- DecidimController
- Decidim::Admin::ApplicationController
- Decidim::Admin::ShareTokensController
- Decidim::Assemblies::Admin::ComponentShareTokensController
- Defined in:
- decidim-assemblies/app/controllers/decidim/assemblies/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 assembly.
Instance Method Summary collapse
Methods inherited from Decidim::Admin::ShareTokensController
#create, #destroy, #edit, #index, #new, #update
Methods inherited from Decidim::Admin::ApplicationController
#permission_class_chain, #permission_scope, #user_has_no_permission_path, #user_not_authorized_path
Methods included from Headers::HttpCachingDisabler
Methods included from TranslatableAttributes
#attachment?, #default_locale?
Methods included from NeedsSnippets
Methods included from RegistersPermissions
Methods included from NeedsOrganization
enhance_controller, extended, included
Instance Method Details
#resource ⇒ Object
12 13 14 |
# File 'decidim-assemblies/app/controllers/decidim/assemblies/admin/component_share_tokens_controller.rb', line 12 def resource @resource ||= current_participatory_space.components.find(params[:component_id]) end |