Open lonnylot opened 4 years ago
@lonnylot Any decisions? I have the same issue.
@nataliiaVasiuk This is what works for me. Create a separate file for this route and update RouteServiceProvider.php
Route::prefix('api')
->middleware('nova')
->namespace($this->namespace)
->group(base_path('routes/api_nova.php'));
My Route:
Route::get('resources/{resource}/price-lists', 'ResourcePricelistController@list');
Using the
nova
middleware is causing a 401:I am successfully logged in on Nova v2.11.1
When I take out the middleware it works correctly. I do not have any policies for the models or other auto for the controller.