diff options
| author | mo khan <mo@mokhan.ca> | 2014-08-14 22:32:46 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-08-14 22:32:46 -0600 |
| commit | d47f27bf34419a0635eebe3f844621784b2bfc19 (patch) | |
| tree | 3bbd05d4ec2dbe0dc6ee6e70b1fc181a02c7fd99 /app/controllers/application_controller.rb | |
| parent | 4067db972ca97dad335170e21906ea77c1f4564e (diff) | |
change usages of new_session_path with login_path
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c460a5a2..3aef3ef5 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -35,7 +35,7 @@ class ApplicationController < ActionController::Base end def authenticate! - redirect_to new_session_path unless user_session + redirect_to login_path unless user_session end def extend_session_cookie |
