Update laravel/uri.php

This commit is contained in:
Taylor Otwell 2011-11-15 08:25:08 -06:00
parent 8b803fd356
commit 6bd3dcb039
1 changed files with 2 additions and 2 deletions

View File

@ -44,9 +44,9 @@ public static function current()
// 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;
}