From d6282dad42f4bba0ea29fb2144f536aedd6e8550 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 9 Jul 2022 20:35:37 +0200 Subject: [PATCH 1/8] Update NavigationMenu namespace, moving into Models --- .../views/layouts/navigation.blade.php | 33 +++++++++++++------ .../Navigation => Models}/NavigationMenu.php | 3 +- .../tests/Feature/NavigationMenuTest.php | 4 +-- 3 files changed, 26 insertions(+), 14 deletions(-) rename packages/framework/src/{Modules/Navigation => Models}/NavigationMenu.php (95%) diff --git a/packages/framework/resources/views/layouts/navigation.blade.php b/packages/framework/resources/views/layouts/navigation.blade.php index 3a9359d1bf1..7da72ce824c 100644 --- a/packages/framework/resources/views/layouts/navigation.blade.php +++ b/packages/framework/resources/views/layouts/navigation.blade.php @@ -1,29 +1,42 @@ @php -$navigation = \Hyde\Framework\Modules\Navigation\NavigationMenu::create($page->getRoute()); + $navigation = \Hyde\Framework\Models\NavigationMenu::create($page->getRoute()); @endphp -