when I define route
$router->add("/signup", array( 'controller' => 'User', 'action' => 'signup', ));
it show me blank page, but after I change to shorthand version, it working fine! so what is the problem?
$router->add('/signup', 'User::signup');
when I define route
$router->add("/signup", array( 'controller' => 'User', 'action' => 'signup', ));
it show me blank page, but after I change to shorthand version, it working fine! so what is the problem?
$router->add('/signup', 'User::signup');