Sha256: dc2898d3026282b568c6e60978391d9886098a34ba5d42a0cc275fda2f32dc87

Contents?: true

Size: 570 Bytes

Versions: 65

Compression:

Stored size: 570 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    module Admin
      # Controller that allows managing all the attachments for a participatory
      # assembly.
      #
      class AssemblyAttachmentsController < Decidim::Assemblies::Admin::ApplicationController
        include Concerns::AssemblyAdmin
        include Decidim::Admin::Concerns::HasAttachments

        def after_destroy_path
          assembly_attachments_path(current_assembly)
        end

        def attached_to
          current_assembly
        end
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
decidim-assemblies-0.27.9 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.8 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.7 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.6 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.26.10 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.26.9 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.5 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.26.8 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.4 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.3 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.26.7 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.26.5 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.2 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.1 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.26.4 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.0 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.26.3 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.0.rc2 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.27.0.rc1 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb
decidim-assemblies-0.26.2 app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb