add shop base url

This commit is contained in:
Edward Yang 2022-07-13 10:31:07 +08:00
parent 6beb14b25d
commit 64dac39d6b
1 changed files with 2 additions and 0 deletions

View File

@ -55,5 +55,7 @@ class ShopServiceProvider extends ServiceProvider
{
$menuCategories = CategoryRepo::getTwoLevelCategories();
View::share('categories', $menuCategories);
View::share('shop_base_url', shop_route('home.index'));
}
}