mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-01 19:45:22 +02:00
[Feat] ✨ Migrate from Pages to Cookbooks (#664)
* feat: ✨ Add Description to Cookbooks * feat(frontend): ✨ Cookbook view page * feat(frontend): 💄 Add final UI touches * fix(backend): 🐛 Add get by slug or id * fix linting issue * test(backend): ✅ Update tests from pages -> cookbooks * refactor(backend): 🔥 Delete old page files Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
parent
165fd8efd6
commit
9b1bf56a5d
22 changed files with 167 additions and 173 deletions
|
@ -28,7 +28,7 @@ class AppRoutes:
|
|||
self.meal_plans_this_week = "/api/meal-plans/this-week"
|
||||
self.meal_plans_today = "/api/meal-plans/today"
|
||||
self.meal_plans_today_image = "/api/meal-plans/today/image"
|
||||
self.site_settings_custom_pages = "/api/site-settings/custom-pages"
|
||||
self.group_cookbook = "/api/groups/cookbooks"
|
||||
self.site_settings = "/api/site-settings"
|
||||
self.site_settings_webhooks_test = "/api/site-settings/webhooks/test"
|
||||
self.themes = "/api/themes"
|
||||
|
@ -95,8 +95,8 @@ class AppRoutes:
|
|||
def meal_plans_id_shopping_list(self, id):
|
||||
return f"{self.prefix}/meal-plans/{id}/shopping-list"
|
||||
|
||||
def site_settings_custom_pages_id(self, id):
|
||||
return f"{self.prefix}/site-settings/custom-pages/{id}"
|
||||
def group_cookbook_id(self, id):
|
||||
return f"{self.prefix}/groups/cookbooks/{id}"
|
||||
|
||||
def themes_id(self, id):
|
||||
return f"{self.prefix}/themes/{id}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue