From 2394a77ce1e2df12f8f85813b4d93b0df51873a8 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 30 Dec 2015 17:41:23 -0800 Subject: SessionsController: Remove `User`-related code Since we don't have a `User` model or any user handling whatsoever in this app currently, let's remove any references to a "user" and just output the auth hash to the server log to see what we get. We can just copy our auth tokens manually to start making some requests to the Evernote API. --- app/controllers/sessions_controller.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index c755c69..3ae19b3 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -1,7 +1,9 @@ class SessionsController < ApplicationController def create - @user = User.find_or_create_from_auth_hash(auth_hash) - self.current_user = @user + # @user = User.find_or_create_from_auth_hash(auth_hash) + puts '&&&&&&&&&&&&&&&&&&&&&&&&&&' + puts auth_hash + # self.current_user = @user redirect_to '/' end -- cgit v1.2.3