Class: LinkedinSignIn::AuthorizationsController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- BaseController
- LinkedinSignIn::AuthorizationsController
- Defined in:
- app/controllers/linkedin_sign_in/authorizations_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
6 7 8 9 |
# File 'app/controllers/linkedin_sign_in/authorizations_controller.rb', line 6 def create redirect_to login_url(scope: 'r_basicprofile r_emailaddress', state: state), allow_other_host: true, flash: { proceed_to: params.require(:proceed_to), state: state } end |