Edit client links working.
This commit is contained in:
parent
04729c071e
commit
304238ec98
|
|
@ -16,10 +16,14 @@
|
|||
{{ __('Dashboard') }}
|
||||
</flux:sidebar.item>
|
||||
|
||||
<flux:sidebar.item icon="user" :href="route('clients.index')" :current="request()->routeIs('clients.*')" wire:navigate>
|
||||
<flux:sidebar.item icon="musical-note" :href="route('clients')" :current="request()->routeIs('clients.*')" wire:navigate>
|
||||
{{ __('Clients') }}
|
||||
</flux:sidebar.item>
|
||||
|
||||
<flux:sidebar.item icon="user" :href="route('contacts')" :current="request()->routeIs('clients.*')" wire:navigate>
|
||||
{{ __('Contacts') }}
|
||||
</flux:sidebar.item>
|
||||
|
||||
</flux:sidebar.group>
|
||||
</flux:sidebar.nav>
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ Route::get('/', function () {
|
|||
|
||||
Route::middleware(['auth', 'verified'])->group(function () {
|
||||
Route::view('dashboard', 'dashboard')->name('dashboard');
|
||||
Route::resource('clients', ClientController::class)->names('clients');
|
||||
Route::view('clients', 'clients.index')->name('clients');
|
||||
Route::view('contacts', 'contacts.index')->name('contacts');
|
||||
});
|
||||
|
||||
// Route::view('dashboard', 'dashboard')
|
||||
|
|
|
|||
Loading…
Reference in New Issue