Class: Decidim::Initiatives::Admin::InitiativeAttachmentsController
- Inherits:
-
ApplicationController
- Object
- Admin::ApplicationController
- ApplicationController
- Decidim::Initiatives::Admin::InitiativeAttachmentsController
- Includes:
- Admin::Concerns::HasAttachments, InitiativeAdmin
- Defined in:
- app/controllers/decidim/initiatives/admin/initiative_attachments_controller.rb
Overview
Controller that allows managing all the attachments for an initiative
Instance Method Summary collapse
Methods included from InitiativeSlug
Methods inherited from ApplicationController
#permission_class_chain, #permissions_context
Instance Method Details
#after_destroy_path ⇒ Object
13 14 15 |
# File 'app/controllers/decidim/initiatives/admin/initiative_attachments_controller.rb', line 13 def after_destroy_path (current_initiative) end |
#attached_to ⇒ Object
17 18 19 |
# File 'app/controllers/decidim/initiatives/admin/initiative_attachments_controller.rb', line 17 def attached_to current_initiative end |