mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 11:42:07 +00:00
404 and 500 drafts
This commit is contained in:
@@ -93,4 +93,12 @@ defmodule ChesstrainerWeb.Router do
|
||||
post "/users/log-in", UserSessionController, :create
|
||||
delete "/users/log-out", UserSessionController, :delete
|
||||
end
|
||||
|
||||
# Keep this last: routes match in definition order. It gives unmatched paths a
|
||||
# branded 404 page with the site chrome instead of Phoenix's bare status page.
|
||||
scope "/", ChesstrainerWeb do
|
||||
pipe_through :browser
|
||||
|
||||
match :*, "/*path", PageController, :not_found
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user