Removed illegal function names from Router::__named

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6503 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
the_undefined 2008-03-03 16:01:46 +00:00
parent 6ca8de212e
commit 5c6b6b9cf6

View file

@ -84,7 +84,7 @@ class Router extends Object {
* @access private * @access private
*/ */
var $__named = array( var $__named = array(
'Action' => 'index|show|list|add|create|edit|update|remove|del|delete|new|view|item', 'Action' => 'index|show|add|create|edit|update|remove|del|delete|view|item',
'Year' => '[12][0-9]{3}', 'Year' => '[12][0-9]{3}',
'Month' => '0[1-9]|1[012]', 'Month' => '0[1-9]|1[012]',
'Day' => '0[1-9]|[12][0-9]|3[01]', 'Day' => '0[1-9]|[12][0-9]|3[01]',