smoothen registration process and first experience

This commit is contained in:
Stella Rouzi 2014-07-03 14:55:12 +03:00
parent 67afcc0b19
commit 7bdfb9ade5
5 changed files with 44 additions and 3 deletions

View file

@ -34,7 +34,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