Class: Decidim::Doorkeeper::AuthorizationsController
- Inherits:
-
Doorkeeper::AuthorizationsController
- Object
- Doorkeeper::AuthorizationsController
- Decidim::Doorkeeper::AuthorizationsController
- Includes:
- HasSpecificBreadcrumb
- Defined in:
- app/controllers/decidim/doorkeeper/authorizations_controller.rb
Overview
Custom Doorkeeper AuthorizationsController to avoid namespace problems.
Instance Method Summary collapse
Instance Method Details
#breadcrumb_item ⇒ Object
15 16 17 18 19 20 |
# File 'app/controllers/decidim/doorkeeper/authorizations_controller.rb', line 15 def { label: t("decidim.doorkeeper.authorizations.new.authorize"), active: true } end |
#oauth_application ⇒ Object
11 12 13 |
# File 'app/controllers/decidim/doorkeeper/authorizations_controller.rb', line 11 def oauth_application @oauth_application ||= Decidim::OAuthApplication.find_by(uid: params[:client_id]) end |