Sha256: f742d59449c34ee8c44ec5e0d7102793970a1b1d0a71177c29ba33c91567fddc

Contents?: true

Size: 576 Bytes

Versions: 6

Compression:

Stored size: 576 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    module Admin
      # Controller that allows managing assembly private users
      # on assemblies
      class ParticipatorySpacePrivateUsersController < Decidim::Assemblies::Admin::ApplicationController
        include Concerns::AssemblyAdmin
        include Decidim::Admin::Concerns::HasPrivateUsers

        def after_destroy_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_controller.rb
decidim-assemblies-0.29.0 app/controllers/decidim/assemblies/admin/participatory_space_private_users_controller.rb
decidim-assemblies-0.29.0.rc4 app/controllers/decidim/assemblies/admin/participatory_space_private_users_controller.rb
decidim-assemblies-0.29.0.rc3 app/controllers/decidim/assemblies/admin/participatory_space_private_users_controller.rb
decidim-assemblies-0.29.0.rc2 app/controllers/decidim/assemblies/admin/participatory_space_private_users_controller.rb
decidim-assemblies-0.29.0.rc1 app/controllers/decidim/assemblies/admin/participatory_space_private_users_controller.rb