fix bug in backreference.

This commit is contained in:
Taylor Otwell 2012-01-25 16:19:56 -06:00
parent d4c5114792
commit 6d6fc1b13e
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ protected static function backreference($method, $parameters)
if ($count > 0) unset($parameters[$key]); if ($count > 0) unset($parameters[$key]);
} }
return array(str_replace('$1', 'index', $method), $parameters); return array(str_replace('(:1)', 'index', $method), $parameters);
} }
/** /**