mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
Support meal plan as default page
This commit is contained in:
parent
04808eaa66
commit
9b5939f0d4
|
|
@ -85,6 +85,11 @@ class SystemController extends BaseController
|
|||
if ($entryPage === 'calendar' && constant('GROCY_FEATURE_FLAG_CALENDAR')) {
|
||||
return '/calendar';
|
||||
}
|
||||
|
||||
// Meal Plan
|
||||
if ($entryPage === 'mealplan' && constant('GROCY_FEATURE_FLAG_MEALPLAN')) {
|
||||
return '/mealplan';
|
||||
}
|
||||
|
||||
return '/about';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user