From ab5e8615c5b366aa5d4db7730306df34bcccda20 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 4 Feb 2012 20:13:30 -0600 Subject: [PATCH] fixing segments bug. --- laravel/uri.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/uri.php b/laravel/uri.php index 1ff22f33..e86eae9b 100644 --- a/laravel/uri.php +++ b/laravel/uri.php @@ -73,7 +73,7 @@ public static function segment($index, $default = null) * @param string $uri * @return void */ - protected function segments($uri) + protected static function segments($uri) { $segments = explode('/', trim($uri, '/'));