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.23.3 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.23.2 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.23.1 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.23.1.rc1 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.23.0 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.22.0 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.21.0 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.20.1 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.20.0 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.19.1 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.18.1 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.19.0 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.17.2 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.18.0 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.17.1 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.16.1 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.17.0 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.16.0 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.15.2 app/controllers/decidim/doorkeeper/authorizations_controller.rb
decidim-core-0.15.1 app/controllers/decidim/doorkeeper/authorizations_controller.rb