Add Authors

mix phx.gen.live Authors Author authors name:string description:text homepage_name:string homepage_url:string
This commit is contained in:
Thelonius Kort
2022-12-26 17:12:46 +01:00
parent 08481a12a8
commit 005a9d9337
12 changed files with 565 additions and 0 deletions

View File

@ -69,6 +69,13 @@ defmodule OutlookWeb.Router do
live "/users/settings", UserSettingsLive, :edit
live "/users/settings/confirm_email/:token", UserSettingsLive, :confirm_email
end
live "/authors", AuthorLive.Index, :index
live "/authors/new", AuthorLive.Index, :new
live "/authors/:id/edit", AuthorLive.Index, :edit
live "/authors/:id", AuthorLive.Show, :show
live "/authors/:id/show/edit", AuthorLive.Show, :edit
end
scope "/", OutlookWeb do