We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b1168 commit 7c3c8fcCopy full SHA for 7c3c8fc
src/Libraries/Assets.php
@@ -278,9 +278,11 @@ protected function sanitizeRoute()
278
$this->route = trim($this->route, '/');
279
280
// Verify for {locale}
281
- if(Config::get('App')->negotiateLocale) {
+ if (Config::get('App')->negotiateLocale)
282
+ {
283
$route = explode('/', $this->route);
- if(count($route) && $route[0] == Services::request()->getLocale()) {
284
+ if (count($route) && $route[0] == Services::request()->getLocale())
285
286
unset($route[0]);
287
}
288
$this->route = implode('/',$route);
0 commit comments