localization api routes
This commit is contained in:
parent
0e7bb327ff
commit
11be739d83
|
|
@ -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');
|
||||
|
||||
|
||||
/*
|
||||
* -------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue