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



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

def create
  authorize_endpoint(:allow_approval)
end

#newObject



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

def new
  authorize_endpoint
end