From ccb52be9dbdf9dca58c92bd2175456df68e3c219 Mon Sep 17 00:00:00 2001 From: Firehose Bot Date: Mon, 6 Jul 2026 10:37:08 +0100 Subject: [PATCH] Add app layout to live_session for dashboard menu Fix the dashboard missing menu by explicitly setting layout: {FirehoseWeb.Layouts, :app} in the live_session. This ensures the navigation menu is rendered on the authenticated editor dashboard LiveView. --- app/lib/firehose_web/router.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/firehose_web/router.ex b/app/lib/firehose_web/router.ex index 9b45bd3..61e1ce7 100644 --- a/app/lib/firehose_web/router.ex +++ b/app/lib/firehose_web/router.ex @@ -75,6 +75,7 @@ defmodule FirehoseWeb.Router do pipe_through [:browser, :require_authenticated_user] live_session :authenticated_user, + layout: {FirehoseWeb.Layouts, :app}, on_mount: [{FirehoseWeb.UserAuth, :ensure_authenticated}] do live "/editor/dashboard", EditorDashboardLive end