Class: Decidim::Admin::ApplicationController
- Inherits:
-
DecidimController
- Object
- DecidimController
- Decidim::Admin::ApplicationController
show all
- Includes:
- NeedsAdminTosAccepted, DisableRedirectionToExternalHost, FormFactory, HttpCachingDisabler, LocaleSwitcher, NeedsOrganization, NeedsPasswordChange, NeedsPermission, NeedsSnippets, PayloadInfo, UseOrganizationTimeZone
- Defined in:
- app/controllers/decidim/admin/application_controller.rb
Overview
The main application controller that inherits from Rails.
Direct Known Subclasses
AdminTermsController, AreaTypesController, AreasController, AuthorizationWorkflowsController, BlockUserController, CategoriesController, Components::BaseController, ComponentsController, ConflictsController, DashboardController, ExportsController, HelpSectionsController, ImpersonatableUsersController, ImpersonationsController, ImportsController, LogsController, ManagedUsers::ImpersonationLogsController, ManagedUsers::PromotionsController, MetricsController, ModeratedUsersController, Moderations::ReportsController, ModerationsController, NewsletterTemplatesController, NewslettersController, OfficializationsController, OrganizationAppearanceController, OrganizationController, OrganizationExternalDomainWhitelistController, OrganizationHomepageContentBlocksController, OrganizationHomepageController, RemindersController, ResourcePermissionsController, ScopeTypesController, ScopesController, ShareTokensController, StaticPageTopicsController, StaticPagesController, UserGroupsController, UserGroupsCsvVerificationsController, UsersController
Instance Method Summary
collapse
Instance Method Details
#permission_class_chain ⇒ Object
#permission_scope ⇒ Object
53
54
55
|
# File 'app/controllers/decidim/admin/application_controller.rb', line 53
def permission_scope
:admin
end
|
#user_has_no_permission_path ⇒ Object
41
42
43
|
# File 'app/controllers/decidim/admin/application_controller.rb', line 41
def user_has_no_permission_path
decidim_admin.root_path
end
|
#user_not_authorized_path ⇒ Object
45
46
47
|
# File 'app/controllers/decidim/admin/application_controller.rb', line 45
def user_not_authorized_path
decidim_admin.root_path
end
|