redirect to signup page, not login page

This commit is contained in:
Andrew Brown 2013-03-11 03:17:03 -05:00
parent 49c434e66b
commit 8aedfc7dd1

View File

@ -143,7 +143,7 @@ class ApplicationController < ActionController::Base
def redirect_if_not_logged_in
unless is_logged_in?
redirect_to login_path, :notice => "You must be logged in to do that!"
redirect_to signup_path, :notice => "You must be logged in to do that!"
end
end