load monkeypatched models in authorizations controller
This commit is contained in:
parent
5917f0d695
commit
13810336d3
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
require File.join(Rails.root, "app", "models", "oauth2_provider_models_activerecord_authorization")
|
||||
require File.join(Rails.root, "app", "models", "oauth2_provider_models_activerecord_client")
|
||||
|
||||
class AuthorizationsController < ApplicationController
|
||||
include OAuth2::Provider::Rack::AuthorizationCodesSupport
|
||||
before_filter :authenticate_user!, :except => :token
|
||||
|
|
|
|||
Loading…
Reference in a new issue