Skip to content

Commit

Permalink
Merge pull request #435 from eyra/next/d3i/sprint-3/route-to-next
Browse files Browse the repository at this point in the history
Added route to /next
  • Loading branch information
mellelieuwes authored Jun 28, 2023
2 parents 1e1d9fd + c3109dc commit ca037fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/bundles/next/bundle.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/bundles/next/lib/menu/items.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit ca037fa

Please sign in to comment.