fix(route): fix implicit route model binding for Project

- Move Route::model to register() in AppServiceProvider so it persists in route cache
- Re-register in boot() for runtime
- Fix navigation spacing for language/notification/user menu

All 101 tests pass
This commit is contained in:
Javier Braña
2026-08-04 12:18:54 +02:00
parent 16efe381c5
commit f566d370be
3 changed files with 32 additions and 2 deletions
@@ -49,13 +49,14 @@ new class extends Component
</x-nav-link>
</div>
<!--
@can('view tasks')
<div class="hidden space-x-8 sm:-my-px sm:ms-10 sm:flex">
<x-nav-link :href="route('projects.list')" :active="request()->routeIs('projects.tasks*')" wire:navigate>
{{ __('Tasks') }}
</x-nav-link>
</div>
@endcan
@endcan -->
@can('view users')
<div class="hidden space-x-8 sm:-my-px sm:ms-10 sm:flex">