mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
redirect to signup page, not login page
This commit is contained in:
parent
49c434e66b
commit
8aedfc7dd1
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user