Ensure the flash notice passes through the redirect

This commit is contained in:
Jason Zimdars
2025-12-20 18:04:56 -06:00
parent c32286da00
commit d4ace2752c
+2
View File
@@ -1,5 +1,7 @@
class LandingsController < ApplicationController
def show
flash.keep(:welcome_letter)
if Current.user.boards.one?
redirect_to board_path(Current.user.boards.first)
else