Class: WcoEmail::SessionsController
- Inherits:
-
Wco::ApplicationController
- Object
- Wco::ApplicationController
- WcoEmail::SessionsController
- Defined in:
- app/controllers/wco_email/sessions_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'app/controllers/wco_email/sessions_controller.rb', line 10 def create puts! params, '#create' user_info = request.env['omniauth.auth'] puts! user_info, 'user_info' render json: { status: :ok } end |
#new ⇒ Object
6 7 8 |
# File 'app/controllers/wco_email/sessions_controller.rb', line 6 def new render :new end |