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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user