Class: Decidim::Admin::DestroyShareToken
- Inherits:
-
Commands::DestroyResource
- Object
- Commands::DestroyResource
- Decidim::Admin::DestroyShareToken
- Defined in:
- app/commands/decidim/admin/destroy_share_token.rb
Overview
A command with all the business logic to destroy a share token. This command is called from the controller.
Instance Method Summary collapse
Instance Method Details
#extra_params ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'app/commands/decidim/admin/destroy_share_token.rb', line 10 def extra_params { participatory_space: { title: participatory_space&.title }, resource: { title: component&.name } } end |