We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the nova middleware is causing a 401:
nova
Route::group(['middleware' => ['nova'], 'namespace' => 'Api'], function() { Route::get('city/{city}/neighborhoods', 'CityNeighborhoodController@show'); });
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.
The text was updated successfully, but these errors were encountered:
@lonnylot Any decisions? I have the same issue.
Sorry, something went wrong.
@nataliiaVasiuk This is what works for me. Create a separate file for this route and update RouteServiceProvider.php
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');
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: