I'm learning CakePHP and I'm building a CMS, but I cant seem to get my router right.
Every url should use the index action of the WebsiteController, except "admin"
/admin works, but when I go to /foobar it asks for FoobarController
Router::connect("/admin/:controller/:action",
array("controller" => "admin")
);
Router::connect("/",
array("controller" => "website", "action" => "index")
);
Router::connect("/:slug/*",
array("controller" => "website", "action" => "index"),
array("pass" => array("slug"), "slug" => '(?!admin)')
);