Class: Devise::Oauth2::AuthorizationsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/devise/oauth2/authorizations_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



19
20
21
# File 'app/controllers/devise/oauth2/authorizations_controller.rb', line 19

def create
  authorize_endpoint(:allow_approval)
end

#newObject



15
16
17
# File 'app/controllers/devise/oauth2/authorizations_controller.rb', line 15

def new
  authorize_endpoint
end