Add Authors
mix phx.gen.live Authors Author authors name:string description:text homepage_name:string homepage_url:string
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user