Sha256: a38058860f650460e4cf4202273c6ac150908bc90464b82849063a525bc9209d

Contents?: true

Size: 646 Bytes

Versions: 5

Compression:

Stored size: 646 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module System
    # The main application controller that inherits from Rails.
    class ApplicationController < ActionController::Base
      include FormFactory
      include PayloadInfo
      include Headers::HttpCachingDisabler
      include DisableRedirectionToExternalHost
      include ActiveStorage::SetCurrent

      protect_from_forgery with: :exception, prepend: true

      helper Decidim::MetaTagsHelper
      helper Decidim::TranslationsHelper
      helper Decidim::DecidimFormHelper
      helper Decidim::ReplaceButtonsHelper
      helper Decidim::System::MenuHelper
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-system-0.29.1 app/controllers/decidim/system/application_controller.rb
decidim-system-0.28.4 app/controllers/decidim/system/application_controller.rb
decidim-system-0.29.0 app/controllers/decidim/system/application_controller.rb
decidim-system-0.28.3 app/controllers/decidim/system/application_controller.rb
decidim-system-0.29.0.rc4 app/controllers/decidim/system/application_controller.rb