From e45d0a4a4f74edef45c35d09a7e170951bff93cb Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Wed, 18 Nov 2020 13:31:14 +0100 Subject: [PATCH] Don't use welcome view for now No signups yet. Just show login for MVP. --- app/controllers/welcome_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index bba7940..ddaf237 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -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