Sha256: 5bb2b3165e9e446c532b3826fad4d66d28944976e64499dde0b92e7188c9c9e9

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

3 entries across 3 versions & 1 rubygems

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