Add Translations
mix phx.gen.live Translations Translation translations \ lang:string title:string teaser:text content:map \ date:utc_datetime user_id:references:users \ public:boolean unauthorized:boolean article_id:references:articles
This commit is contained in:
@ -83,6 +83,13 @@ defmodule OutlookWeb.Router do
|
||||
|
||||
live "/articles/:id", ArticleLive.Show, :show
|
||||
live "/articles/:id/show/edit", ArticleLive.Show, :edit
|
||||
|
||||
live "/translations", TranslationLive.Index, :index
|
||||
live "/translations/new", TranslationLive.Index, :new
|
||||
live "/translations/:id/edit", TranslationLive.Index, :edit
|
||||
|
||||
live "/translations/:id", TranslationLive.Show, :show
|
||||
live "/translations/:id/show/edit", TranslationLive.Show, :edit
|
||||
end
|
||||
|
||||
scope "/", OutlookWeb do
|
||||
|
||||
Reference in New Issue
Block a user