Don't use welcome view for now
No signups yet. Just show login for MVP.
This commit is contained in:
parent
3614e6a227
commit
e45d0a4a4f
@ -1,7 +1,9 @@
|
||||
class WelcomeController < ApplicationController
|
||||
def index
|
||||
if user_signed_in?
|
||||
redirect_to root_path and return
|
||||
redirect_to root_path
|
||||
else
|
||||
redirect_to new_user_session_path
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user