forked from miguel456/rbrecruiter
Add localization middleware
This commit is contained in:
parent
a10f3f9c96
commit
81c0b65404
@ -13,7 +13,7 @@ use Mcamara\LaravelLocalization\Facades\LaravelLocalization;
|
||||
| contains the "web" middleware group. Now create something great!
|
||||
|
|
||||
*/
|
||||
Route::group(['prefix' => LaravelLocalization::setLocale()], function (){
|
||||
Route::group(['prefix' => LaravelLocalization::setLocale(), 'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ]], function (){
|
||||
|
||||
Route::group(['prefix' => 'auth', 'middleware' => ['usernameUUID']], function (){
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user