Sha256: 8e82933952734fc445e440c7710e91081e6ecc6d0b7aa772fb4bc6444af1350d

Contents?: true

Size: 583 Bytes

Versions: 6

Compression:

Stored size: 583 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    module Admin
      # Controller that allows importing assembly private users
      # on assemblies
      class ParticipatorySpacePrivateUsersCsvImportsController < Decidim::Admin::ApplicationController
        include Concerns::AssemblyAdmin
        include Decidim::Admin::Concerns::HasPrivateUsersCsvImport

        def after_import_path
          participatory_space_private_users_path(current_assembly)
        end

        def privatable_to
          current_assembly
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-assemblies-0.29.1 app/controllers/decidim/assemblies/admin/participatory_space_private_users_csv_imports_controller.rb
decidim-assemblies-0.29.0 app/controllers/decidim/assemblies/admin/participatory_space_private_users_csv_imports_controller.rb
decidim-assemblies-0.29.0.rc4 app/controllers/decidim/assemblies/admin/participatory_space_private_users_csv_imports_controller.rb
decidim-assemblies-0.29.0.rc3 app/controllers/decidim/assemblies/admin/participatory_space_private_users_csv_imports_controller.rb
decidim-assemblies-0.29.0.rc2 app/controllers/decidim/assemblies/admin/participatory_space_private_users_csv_imports_controller.rb
decidim-assemblies-0.29.0.rc1 app/controllers/decidim/assemblies/admin/participatory_space_private_users_csv_imports_controller.rb