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
hello,
using Laravel version - 5.8
followed https://github.com/Waavi/translation#uri-localization this instruction. but I didn't get the correct route in PHP artisan route: list. and also API gave 404 status code.
here is api.php -
Route::group(['prefix' => '/v1', 'middleware' => ['auth:api'], 'namespace' => 'Api\V1', 'as' => 'api.'], function () { Route::group(['prefix' => \UriLocalizer::localeFromRequest(2),'middleware' => 'localize:2'], function () { Route::get('me', 'UserController@profile'); }); });
Here route list -
Please help me,
Thanks in advance!!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hello,
using Laravel version - 5.8
followed https://github.com/Waavi/translation#uri-localization this instruction. but I didn't get the correct route in PHP artisan route: list. and also API gave 404 status code.
here is api.php -
Route::group(['prefix' => '/v1', 'middleware' => ['auth:api'], 'namespace' => 'Api\V1', 'as' => 'api.'], function () { Route::group(['prefix' => \UriLocalizer::localeFromRequest(2),'middleware' => 'localize:2'], function () { Route::get('me', 'UserController@profile'); }); });
Here route list -
Please help me,
Thanks in advance!!
The text was updated successfully, but these errors were encountered: