Add long urls for Artikel

This commit is contained in:
Thelonius Kort
2023-02-12 18:43:30 +01:00
parent 239177db50
commit b0267ef752
7 changed files with 54 additions and 10 deletions

View File

@ -34,7 +34,7 @@ defmodule OutlookWeb.Router do
get "/", ArtikelController, :index
resources "/autoren", AutorController, only: [:index, :show]
resources "/artikel", ArtikelController, only: [:index, :show]
resources "/artikel", ArtikelController, only: [:index, :show], param: "tid"
end
# Other scopes may use custom stacks.