Sha256: c8d1b43938ecf61d040083549afeafdcadc85ea052d8c1d1933b547bf446f593

Contents?: true

Size: 607 Bytes

Versions: 19

Compression:

Stored size: 607 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Consultations
    module Admin
      # The main admin application controller for consultations
      class ApplicationController < Decidim::Admin::ApplicationController
        layout "decidim/admin/consultations"

        helper Decidim::SanitizeHelper

        include NeedsPermission

        private

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

        def permission_scope
          :admin
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

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