Class: Decidim::Api::ApplicationController
- Inherits:
-
DecidimController
- Object
- DecidimController
- Decidim::Api::ApplicationController
- Includes:
- DisableRedirectionToExternalHost, ForceAuthentication, ImpersonateUsers, NeedsOrganization, NeedsPermission, UseOrganizationTimeZone
- Defined in:
- decidim-api/app/controllers/decidim/api/application_controller.rb
Overview
Base controller for ‘decidim-api`. All other controllers inherit from this.
Direct Known Subclasses
DocumentationController, GraphiQLController, QueriesController
Instance Method Summary collapse
Methods included from RegistersPermissions
Methods included from NeedsOrganization
enhance_controller, extended, included
Instance Method Details
#permission_class_chain ⇒ Object
18 19 20 |
# File 'decidim-api/app/controllers/decidim/api/application_controller.rb', line 18 def ::Decidim..chain_for(::Decidim::Api::ApplicationController) end |
#permission_scope ⇒ Object
22 23 24 |
# File 'decidim-api/app/controllers/decidim/api/application_controller.rb', line 22 def :public end |