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" %>