// add the route to match the auth $router->add("/auth/:action", array( "controller" => "auth", "action" => 1, ) ); // you may also simply use the auto defaut routing