From 8f766449c63fd9fb5fd74894ce21fe80b8db9327 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 5 Feb 2023 15:06:02 +0100 Subject: [PATCH] Code formatting / structure --- routes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routes.php b/routes.php index a09e36db..b0b2710d 100644 --- a/routes.php +++ b/routes.php @@ -87,15 +87,15 @@ $app->group('', function (RouteCollectorProxy $group) { $group->get('/recipes', '\Grocy\Controllers\RecipesController:Overview'); $group->get('/recipe/{recipeId}', '\Grocy\Controllers\RecipesController:RecipeEditForm'); $group->get('/recipe/{recipeId}/pos/{recipePosId}', '\Grocy\Controllers\RecipesController:RecipePosEditForm'); + $group->get('/recipessettings', '\Grocy\Controllers\RecipesController:RecipesSettings'); + $group->get('/recipe/{recipeId}/grocycode', '\Grocy\Controllers\RecipesController:RecipeGrocycodeImage'); + if (GROCY_FEATURE_FLAG_RECIPES_MEALPLAN) { $group->get('/mealplan', '\Grocy\Controllers\RecipesController:MealPlan'); $group->get('/mealplansections', '\Grocy\Controllers\RecipesController:MealPlanSectionsList'); $group->get('/mealplansection/{sectionId}', '\Grocy\Controllers\RecipesController:MealPlanSectionEditForm'); } - - $group->get('/recipessettings', '\Grocy\Controllers\RecipesController:RecipesSettings'); - $group->get('/recipe/{recipeId}/grocycode', '\Grocy\Controllers\RecipesController:RecipeGrocycodeImage'); } // Chore routes