dev-think-one /
nova-laravel-filemanager
| 1 | <?php |
||
| 2 | |||
| 3 | use Illuminate\Support\Facades\Route; |
||
| 4 | use Laravel\Nova\Http\Requests\NovaRequest; |
||
| 5 | |||
| 6 | /* |
||
| 7 | |-------------------------------------------------------------------------- |
||
| 8 | | Tool Routes |
||
| 9 | |-------------------------------------------------------------------------- |
||
| 10 | | |
||
| 11 | | Here is where you may register Inertia routes for your tool. These are |
||
| 12 | | loaded by the ServiceProvider of the tool. The routes are protected |
||
| 13 | | by your tool's "Authorize" middleware by default. Now - go build! |
||
| 14 | | |
||
| 15 | */ |
||
| 16 | |||
| 17 | Route::get('/', function (NovaRequest $request) { |
||
|
0 ignored issues
–
show
|
|||
| 18 | return inertia('FileManager'); |
||
| 19 | }); |
||
| 20 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.