decidim-admin/app/controllers/decidim/admin/application_controller.rb in decidim-0.0.6 vs decidim-admin/app/controllers/decidim/admin/application_controller.rb in decidim-0.0.7
- old
+ new
@@ -1,14 +1,20 @@
# frozen_string_literal: true
module Decidim
module Admin
# The main application controller that inherits from Rails.
- class ApplicationController < ActionController::Base
+ class ApplicationController < ::DecidimController
include NeedsOrganization
include NeedsAuthorization
include FormFactory
include LocaleSwitcher
include PayloadInfo
+ helper Decidim::Admin::ApplicationHelper
+ helper Decidim::Admin::AttributesDisplayHelper
+ helper Decidim::Admin::FeatureSettingsHelper
+ helper Decidim::Admin::ProcessGroupsForSelectHelper
+ helper Decidim::Admin::ProcessesForSelectHelper
+ helper Decidim::Admin::IconLinkHelper
helper Decidim::DecidimFormHelper
helper Decidim::ReplaceButtonsHelper
helper Decidim::OrganizationScopesHelper
helper Decidim::TranslationsHelper