Add Translators/deepl_accounts

mix phx.gen.live Translators DeeplAccount deepl_accounts\
  name:string description:text auth_key:string character_limit:integer\
  character_count:integer our_character_count:integer user_id:references:users
This commit is contained in:
Thelonius Kort
2022-12-26 18:51:30 +01:00
parent f66521dba8
commit 9e9c7b5519
12 changed files with 585 additions and 0 deletions

View File

@ -90,6 +90,13 @@ defmodule OutlookWeb.Router do
live "/translations/:id", TranslationLive.Show, :show
live "/translations/:id/show/edit", TranslationLive.Show, :edit
live "/deepl_accounts", DeeplAccountLive.Index, :index
live "/deepl_accounts/new", DeeplAccountLive.Index, :new
live "/deepl_accounts/:id/edit", DeeplAccountLive.Index, :edit
live "/deepl_accounts/:id", DeeplAccountLive.Show, :show
live "/deepl_accounts/:id/show/edit", DeeplAccountLive.Show, :edit
end
scope "/", OutlookWeb do