From 6bd3dcb039e3667f123c2eb6ff289302ad1597a2 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 15 Nov 2011 08:25:08 -0600 Subject: [PATCH] Update laravel/uri.php --- laravel/uri.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/uri.php b/laravel/uri.php index 08b5624f..42e106c4 100644 --- a/laravel/uri.php +++ b/laravel/uri.php @@ -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; }