Unverified Commit 05ff8e0c authored by Motch Julien's avatar Motch Julien Committed by GitHub

Update RoutingServiceProvider.php

parent da5ea58c
......@@ -55,7 +55,7 @@ abstract class RoutingServiceProvider extends ServiceProvider
$router->group([
'namespace' => $this->namespace,
'prefix' => LaravelLocalization::setLocale(),
'middleware' => ['localizationRedirect', 'web'],
'middleware' => ['localizationRedirect','localeSessionRedirect','web'],
], function (Router $router) {
$this->loadBackendRoutes($router);
$this->loadFrontendRoutes($router);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment