Update laravel/uri.php

This commit is contained in:
Taylor Otwell
2011-11-15 08:25:08 -06:00
parent 8b803fd356
commit 6bd3dcb039

View File

@@ -44,9 +44,9 @@ class URI {
// 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
// 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;
}