removed namespace from route group

This commit is contained in:
Apoorv Pal 2021-10-07 18:03:11 +05:30
parent 7bc4248d21
commit 2c0f710e36
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ use Webkul\API\Http\Resources\Sales\Shipment;
Route::group(['prefix' => 'api'], function ($router) {
Route::group(['namespace' => 'Webkul\API\Http\Controllers\Shop', 'middleware' => ['locale', 'theme', 'currency']], function ($router) {
Route::group(['middleware' => ['locale', 'theme', 'currency']], function ($router) {
//Currency and Locale switcher
Route::get('switch-currency', [CoreController::class, 'switchCurrency']);