Adding regular expression tests for route matching

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5930 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-10-30 21:25:02 +00:00
parent 9885e2d253
commit 458bd08027

View file

@ -204,9 +204,6 @@ class Router extends Object {
function connect($route, $default = array(), $params = array()) {
$_this =& Router::getInstance();
$admin = Configure::read('Routing.admin');
if ($admin && $default == null && $route == $admin) {
}
$default = am(array('plugin' => null, 'controller' => null, 'action' => null), $default);
if (!empty($default) && empty($default['action'])) {