fixing segments bug.

This commit is contained in:
Taylor Otwell 2012-02-04 20:13:30 -06:00
parent ce5a922b87
commit ab5e8615c5
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public static function segment($index, $default = null)
* @param string $uri * @param string $uri
* @return void * @return void
*/ */
protected function segments($uri) protected static function segments($uri)
{ {
$segments = explode('/', trim($uri, '/')); $segments = explode('/', trim($uri, '/'));