Sha256: bf2ee8c78819c144b3f9d1aeeb6b2b2cacf9cd813068549220bb21ce1c6ed592
Contents?: true
Size: 594 Bytes
Versions: 13
Compression:
Stored size: 594 Bytes
Contents
# frozen_string_literal: true module Decidim module Doorkeeper # Custom Doorkeeper AuthorizationsController to avoid namespace problems. class AuthorizationsController < ::Doorkeeper::AuthorizationsController include HasSpecificBreadcrumb helper_method :oauth_application def oauth_application @oauth_application ||= Decidim::OAuthApplication.find_by(uid: params[:client_id]) end def breadcrumb_item { label: t("decidim.doorkeeper.authorizations.new.authorize"), active: true } end end end end
Version data entries
13 entries across 13 versions & 1 rubygems