localization api routes

This commit is contained in:
merdan 2019-11-26 16:24:13 +05:00
parent 0e7bb327ff
commit 11be739d83
1 changed files with 5 additions and 5 deletions

View File

@ -1,16 +1,16 @@
<?php
/*
* Include our API routes file
*/
include_once('api_routes.php');
Route::group(
[
'prefix' => LaravelLocalization::setLocale(),
'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ]
], function() {
/*
* Include our API routes file
*/
include_once('api_routes.php');
/*
* -------------------------