Skip to content
Snippets Groups Projects
Commit 7d90634e authored by Treadway, Ross T (UG - Computer Science)'s avatar Treadway, Ross T (UG - Computer Science)
Browse files

Cleaning up application controller

parent 9abf5026
No related branches found
No related tags found
No related merge requests found
......@@ -11,19 +11,12 @@ class ApplicationController < ActionController::Base
}.to_json,
:headers => { 'Content-Type' => 'application/json'})
puts session[:user_id]
session[:user_id] = login['data']['id']
puts "1"
session[:jwt_token] = login.header['authorization']
puts "1"
session[:logged_in] = true
puts "1"
puts "1"
render "home"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment