diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 23:18:56 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 23:18:56 -0400 |
commit | 4c572a775a7c28b102b4462af94214148e6df1d2 (patch) | |
tree | 545d97081772988b2f5c479b97d413d916c64d07 /app/controllers/sessions_controller.rb | |
parent | b35fa4b6f79d13d46eab4c9ba9e631eeb20ba73b (diff) | |
parent | deaf1f5db268b8fd2ff1838e461c8142d3882dc8 (diff) |
Forced Merger - Hostile Takeover.
Diffstat (limited to 'app/controllers/sessions_controller.rb')
-rw-r--r-- | app/controllers/sessions_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index a0390ad..9f0a8e3 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -18,7 +18,7 @@ class SessionsController < ApplicationController if @user && @user.authenticate(params[:session][:password]) sign_in @user format.html { redirect_to root_path } - #format.json { #TODO } + #format.json { # TODO } else format.html { render action: 'new' } format.json { render json: @user.errors, status: :unprocessable_entity } |