Sha256: 0e2a599201d05c1f78c239045f8ed24675c1869d5abbe62fa17e3cee83f9484b

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true
module Decidim
  # The main application controller that inherits from Rails.
  class ApplicationController < ActionController::Base
    include Decidim::NeedsOrganization
    include Decidim::LocaleSwitcher
    protect_from_forgery with: :exception, prepend: true

    layout "application"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-core-0.0.1.alpha7 app/controllers/decidim/application_controller.rb
decidim-core-0.0.1.alpha6 app/controllers/decidim/application_controller.rb
decidim-core-0.0.1.alpha5 app/controllers/decidim/application_controller.rb