diff --git a/frontend/src/routes.ts b/frontend/src/routes.ts index b53f7a8..5b31d55 100644 --- a/frontend/src/routes.ts +++ b/frontend/src/routes.ts @@ -10,6 +10,6 @@ export function getRecipeAddUrlDefinition() : string {return getRecipeAddUrl()} // URLs including id export function getRootUrl () : string { return "/"} export function getRecipeListUrl() : string {return getRootUrl()} -export function getRecipeDetailUrl(id: string) : string {return "/recipe/" + id} +export function getRecipeDetailUrl(id: string) : string {return "/recipe/" + id + "/card"} export function getRecipeEditUrl(id: string) : string {return "/recipe/" + id + "/edit"} -export function getRecipeAddUrl() : string {return "/new-recipe"} \ No newline at end of file +export function getRecipeAddUrl() : string {return "/recipe/add"} \ No newline at end of file