fix bug in backreference.

This commit is contained in:
Taylor Otwell
2012-01-25 16:19:56 -06:00
parent d4c5114792
commit 6d6fc1b13e

View File

@@ -89,7 +89,7 @@ abstract class Controller {
if ($count > 0) unset($parameters[$key]);
}
return array(str_replace('$1', 'index', $method), $parameters);
return array(str_replace('(:1)', 'index', $method), $parameters);
}
/**