mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 03:04:36 +00:00
Add Sub feature flag FEATURE_FLAG_RECIPES_MEALPLAN (#2118)
* Update routes.php Added sub feature FEATURE_FLAG_RECIPES_MEALPLAN * Update default.blade.php Added sub feature flag FEATURE_FLAG_RECIPES_MEALPLAN * Update SystemController.php Added Sub feature flags FEATURE_FLAG_RECIPES_MEALPLAN * Update config-dist.php Sub feature flags FEATURE_FLAG_RECIPES_MEALPLAN * Update routes.php TYPO * Code formatting / structure --------- Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
committed by
GitHub
parent
1e9a4d9590
commit
902cb20710
@@ -102,7 +102,7 @@ class SystemController extends BaseController
|
||||
}
|
||||
|
||||
// Meal Plan
|
||||
if ($entryPage === 'mealplan' && constant('GROCY_FEATURE_FLAG_RECIPES'))
|
||||
if ($entryPage === 'mealplan' && constant('GROCY_FEATURE_FLAG_RECIPES_MEALPLAN'))
|
||||
{
|
||||
return '/mealplan';
|
||||
}
|
||||
|
Reference in New Issue
Block a user