Class: Decidim::Assemblies::Admin::AssemblyAttachmentCollectionsController

Inherits:
ApplicationController
  • Object
show all
Includes:
Decidim::Admin::Concerns::HasAttachmentCollections, Concerns::AssemblyAdmin
Defined in:
app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb

Overview

Controller that allows managing all the attachment collections for an assembly.

Instance Method Summary collapse

Instance Method Details

#after_destroy_pathObject



12
13
14
# File 'app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb', line 12

def after_destroy_path
  assembly_attachment_collections_path(current_assembly)
end

#collection_forObject



16
17
18
# File 'app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb', line 16

def collection_for
  current_assembly
end