Sha256: 3f521552620718070ab014a8aa22ecb33ac83a28d22731e47580963fee178e6a

Contents?: true

Size: 406 Bytes

Versions: 72

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Doorkeeper
    # Custom Doorkeeper AuthorizationsController to avoid namespace problems.
    class AuthorizationsController < ::Doorkeeper::AuthorizationsController
      helper_method :oauth_application

      def oauth_application
        @oauth_application ||= Decidim::OAuthApplication.find_by(uid: params[:client_id])
      end
    end
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.8 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.7 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.6 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.26.10 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.26.9 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.5 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.26.8 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.4 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.3 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.26.7 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.26.5 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.2 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.1 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.26.4 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.0 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.26.3 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.0.rc2 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.27.0.rc1 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.26.2 app/controllers/decidim/doorkeeper/authorizations_controller.rb