diff options
author | shumakl <shumakl@purdue.edu> | 2014-04-03 12:12:04 -0400 |
---|---|---|
committer | shumakl <shumakl@purdue.edu> | 2014-04-03 12:12:04 -0400 |
commit | c0b705f1397ce442427638f92b185d630db73ec5 (patch) | |
tree | 61d0b3692fa91b41983355b3456d36d5638eada3 /app/controllers/sessions_controller.rb | |
parent | ac4a9438709356f7f270476e30b3f4e572f4bf6a (diff) |
normalize to tab indent
Diffstat (limited to 'app/controllers/sessions_controller.rb')
-rw-r--r-- | app/controllers/sessions_controller.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 7cb16e8..aaaccd7 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -6,7 +6,7 @@ class SessionsController < ApplicationController @user = User.new #@session = Session.new end - + # POST /sessions # POST /sessions.json def create @@ -40,13 +40,13 @@ class SessionsController < ApplicationController private - # Use callbacks to share common setup or constraints between actions. - def set_session - #@session = Session.find(cookies[:remember_token]) - end + # Use callbacks to share common setup or constraints between actions. + def set_session + #@session = Session.find(cookies[:remember_token]) + end - # Never trust parameters from the scary internet, only allow the white list through. - def session_params - params.require(:session).permit(:session_email, :session_user_name, :session_password) - end + # Never trust parameters from the scary internet, only allow the white list through. + def session_params + params.require(:session).permit(:session_email, :session_user_name, :session_password) + end end |