From 062820873fce9e48c9e5432ba12df60649ffae04 Mon Sep 17 00:00:00 2001 From: Kevin BATAILLE Date: Tue, 26 Aug 2025 18:34:03 +0200 Subject: [PATCH] fix: update header and layout structure for flash messages --- app/views/components/_header.html.erb | 2 +- app/views/layouts/application.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/components/_header.html.erb b/app/views/components/_header.html.erb index f73cf6f..7427a0f 100644 --- a/app/views/components/_header.html.erb +++ b/app/views/components/_header.html.erb @@ -7,7 +7,7 @@
- <%= link_to Rails.application.config.app_name, "/" , class: "text-xl font-bold text-white" %> + <%= link_to Rails.application.config.app_name, current_user ? "/dashboard" : "/", class: "text-xl font-bold text-white" %>