mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Support meal plan as default page (#383)
* Support meal plan as default page * Update SystemController.php
This commit is contained in:
parent
04808eaa66
commit
fd14083443
@ -86,6 +86,11 @@ class SystemController extends BaseController
|
||||
return '/calendar';
|
||||
}
|
||||
|
||||
// Meal Plan
|
||||
if ($entryPage === 'mealplan' && constant('GROCY_FEATURE_FLAG_RECIPES')) {
|
||||
return '/mealplan';
|
||||
}
|
||||
|
||||
return '/about';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user