Sha256: bff2a7c5eda8a2a721770eeb4020f772e558b1b9aaec5e5405cbcc8730f5443c

Contents?: true

Size: 566 Bytes

Versions: 3

Compression:

Stored size: 566 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Notify
    module Admin
      # This controller is the abstract class from which all other controllers of
      # this engine inherit.
      #
      # Note that it inherits from `Decidim::Admin::Components::BaseController`, which
      # override its layout and provide all kinds of useful methods.
      class ApplicationController < Decidim::Admin::Components::BaseController
        def permission_class_chain
          [::Decidim::Notify::Admin::Permissions] + super
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-notify-0.5 app/controllers/decidim/notify/admin/application_controller.rb
decidim-notify-0.4 app/controllers/decidim/notify/admin/application_controller.rb
decidim-notify-0.3 app/controllers/decidim/notify/admin/application_controller.rb