Update laravel/uri.php
This commit is contained in:
parent
8b803fd356
commit
6bd3dcb039
|
@ -44,9 +44,9 @@ public static function current()
|
||||||
// Format the final request URI. If there is nothing left, we will just
|
// Format the final request URI. If there is nothing left, we will just
|
||||||
// return a single forward slash. Otherwise, we'll remove all of the
|
// return a single forward slash. Otherwise, we'll remove all of the
|
||||||
// leading and trailing spaces from the URI before returning it.
|
// leading and trailing spaces from the URI before returning it.
|
||||||
static::$uri = $uri = static::format($uri);
|
static::$uri = static::format($uri);
|
||||||
|
|
||||||
static::$segments = explode('/', $uri);
|
static::$segments = explode('/', static::$uri);
|
||||||
|
|
||||||
return static::$uri;
|
return static::$uri;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue