cleaned up data structure, cleaned up some code

This commit is contained in:
Gavin McDonald
2025-05-06 14:12:04 -04:00
parent 1ee183557c
commit 2d5dbd4140
5 changed files with 44 additions and 50 deletions

View File

@@ -14,18 +14,11 @@ defmodule LabelmakerWeb.Router do
plug :accepts, ["json"]
end
# scope "/", LabelmakerWeb do
# pipe_through :browser
#
# get "/", PageController, :home
# end
scope "/", LabelmakerWeb do
pipe_through :browser
live "/", Home
get "/:label", LabelController, :show
# live "/:label", Label
end
# Other scopes may use custom stacks.