route caching currently doesn't seem to take HTTP Verb into account
For example
$router->post('/(:controller(/:function(/:*args)))',
array('controller' => 'home','function' => 'index'),
array('controller' => '\vespora\controllers\main\%{controller|capfirst}Controller',
'function' => '%{function|lower}_post'));
$router->request('/(:controller(/:function(/:*args)))',
array('controller' => 'home','function' => 'index' ),
array('controller' => '\vespora\controllers\main\%{controller|capfirst}Controller'));
when the following routes are added to the route, the first request GET: /user/login, maps properly as expected, to \vespora\controllers\main\UserController->login()
However, when the login page posts back to itself, it calls \vespora\controllers\main\UserController->login() rather then \vespora\controllers\main\UserController->login_post()
route caching currently doesn't seem to take HTTP Verb into account
For example
when the following routes are added to the route, the first request GET: /user/login, maps properly as expected, to \vespora\controllers\main\UserController->login()
However, when the login page posts back to itself, it calls \vespora\controllers\main\UserController->login() rather then \vespora\controllers\main\UserController->login_post()