cleaned up data structure, cleaned up some code
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user