From c3109dcdad6a0599c22cc7e4f53ee669c972f6f0 Mon Sep 17 00:00:00 2001 From: emielvdveen Date: Tue, 27 Jun 2023 21:17:25 +0200 Subject: [PATCH] Added route to /next --- core/bundles/next/bundle.ex | 1 + core/bundles/next/lib/menu/items.ex | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/bundles/next/bundle.ex b/core/bundles/next/bundle.ex index 85856f891..22dabc3a2 100644 --- a/core/bundles/next/bundle.ex +++ b/core/bundles/next/bundle.ex @@ -26,6 +26,7 @@ defmodule Next.Bundle do scope "/", Next do pipe_through([:browser, :require_authenticated_user]) live("/console", Console.Page) + live("/next", Console.Page) end end end diff --git a/core/bundles/next/lib/menu/items.ex b/core/bundles/next/lib/menu/items.ex index a3a90896d..f8c410eae 100644 --- a/core/bundles/next/lib/menu/items.ex +++ b/core/bundles/next/lib/menu/items.ex @@ -7,7 +7,7 @@ defmodule Next.Menu.Items do @impl true def values() do %{ - next: %{action: %{type: :http_get, to: ~p"/console"}, title: "Next"}, + next: %{action: %{type: :http_get, to: ~p"/next"}, title: "Next"}, admin: %{ action: %{type: :redirect, to: ~p"/admin/config"}, title: dgettext("eyra-ui", "menu.item.admin")