This commit is contained in:
Stella Rouzi 2014-07-11 07:19:31 +00:00
commit dfc4dd2e7e
5 changed files with 44 additions and 3 deletions

View file

@ -35,7 +35,7 @@ class ApplicationController < ActionController::Base
:authenticate_user!
if (current_user.nil?)
redirect_to new_user_session_path
redirect_to new_user_registration_path
return false
end