Unverified Commit e94ebc30 authored by Motch Julien's avatar Motch Julien Committed by GitHub

Update RoutingServiceProvider.php

parent e3c275c9
...@@ -55,7 +55,7 @@ abstract class RoutingServiceProvider extends ServiceProvider ...@@ -55,7 +55,7 @@ abstract class RoutingServiceProvider extends ServiceProvider
$router->group([ $router->group([
'namespace' => $this->namespace, 'namespace' => $this->namespace,
'prefix' => LaravelLocalization::setLocale(), 'prefix' => LaravelLocalization::setLocale(),
'middleware' => ['localizationRedirect', 'localeSessionRedirect', 'web'], 'middleware' => ['localeSessionRedirect', 'localizationRedirect', 'web'],
], function (Router $router) { ], function (Router $router) {
$this->loadBackendRoutes($router); $this->loadBackendRoutes($router);
$this->loadFrontendRoutes($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