Skip to content

Commit

Permalink
[ci skip] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nbulaj committed Jan 28, 2020
1 parent 52dc279 commit cb2b56d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/doorkeeper/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -409,15 +409,15 @@ def validate
end

def access_token_model
@access_token_model ||= Doorkeeper.configuration.access_token_class.constantize
@access_token_model ||= access_token_class.constantize
end

def access_grant_model
@access_grant_model ||= Doorkeeper.configuration.access_grant_class.constantize
@access_grant_model ||= access_grant_class.constantize
end

def application_model
@application_model ||= Doorkeeper.configuration.application_class.constantize
@application_model ||= application_class.constantize
end

def api_only
Expand Down

0 comments on commit cb2b56d

Please sign in to comment.