diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-27 23:01:04 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-27 23:01:04 -0400 |
commit | 2d7313767442956eab00671ac555c0ce4e583b5f (patch) | |
tree | 4d82b865add8617aadd6390b02f6f4cfa75657bb /app/controllers/sessions_controller.rb | |
parent | 987cd575c48b9ac1ff4a8232288484685ed8563d (diff) |
handle what I can of `fgrep -r TODO app lib`
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 } |