Sha256: 5acf05e0779abfe68387e487aae4d9ff42bb888f3148e3cc7249ac5b596a9c0c

Contents?: true

Size: 575 Bytes

Versions: 19

Compression:

Stored size: 575 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    module Admin
      # The main admin application controller for assemblies
      class ApplicationController < Decidim::Admin::ApplicationController
        private

        def permissions_context
          super.merge(
            current_participatory_space: try(:current_participatory_space)
          )
        end

        def permission_class_chain
          [
            Decidim::Assemblies::Permissions,
            Decidim::Admin::Permissions
          ]
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
decidim-assemblies-0.17.2 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.17.1 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.16.1 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.17.0 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.16.0 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.15.2 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.15.1 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.15.0 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.14.4 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.14.3 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.14.2 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.14.1 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.13.1 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.12.2 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.13.0 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.12.1 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.13.0.pre1 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.12.0 app/controllers/decidim/assemblies/admin/application_controller.rb
decidim-assemblies-0.12.0.pre app/controllers/decidim/assemblies/admin/application_controller.rb