Skip to content

Commit

Permalink
Changed middleware to use correct group for Nova 4
Browse files Browse the repository at this point in the history
  • Loading branch information
wjstraver authored Oct 13, 2022
1 parent bc10cc8 commit 488855f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LogsToolServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ protected function routes()
return;
}

Nova::router(['nova', Authorize::class], 'logs-tool')
Nova::router(['nova:api', Authorize::class], 'logs-tool')
->group(__DIR__.'/../routes/inertia.php');

Route::middleware(['nova', Authorize::class])
Route::middleware(['nova:api', Authorize::class])
->prefix('nova-vendor/KABBOUCHI/logs-tool')
->group(__DIR__.'/../routes/api.php');
}
Expand Down

0 comments on commit 488855f

Please sign in to comment.