Class: ShopQiApp::OmniauthCallbacksController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ShopQiApp::OmniauthCallbacksController
- Defined in:
- app/controllers/shopqi_app/omniauth_callbacks_controller.rb
Instance Method Summary collapse
Methods included from ApplicationHelper
#authenticate_shop!, #current_shop, #shop_url, #signed_in?
Instance Method Details
#shopqi ⇒ Object
6 7 8 9 |
# File 'app/controllers/shopqi_app/omniauth_callbacks_controller.rb', line 6 def shopqi shop = Shop.find_for_shopqi_oauth(request.env["omniauth.auth"]) sign_in_and_redirect shop end |