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
@ -85,6 +85,11 @@ class SystemController extends BaseController
|
|||||||
if ($entryPage === 'calendar' && constant('GROCY_FEATURE_FLAG_CALENDAR')) {
|
if ($entryPage === 'calendar' && constant('GROCY_FEATURE_FLAG_CALENDAR')) {
|
||||||
return '/calendar';
|
return '/calendar';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Meal Plan
|
||||||
|
if ($entryPage === 'mealplan' && constant('GROCY_FEATURE_FLAG_RECIPES')) {
|
||||||
|
return '/mealplan';
|
||||||
|
}
|
||||||
|
|
||||||
return '/about';
|
return '/about';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user