Hi guys! First of all thank you all for this very fast framework. Coming from zf2 world I can see that is really REALLY faster :) Now my question is this: How can I register routes in my controllers without using anotations parser? I mean it looks like I am able to use initialize() method but if i register my routes there like so:
public function initialize()
{
$this->router->add('/status-code/404', array('action' => 'code404',));
}
I'm getting:
exception 'Phalcon\Mvc\Dispatcher\Exception' with message 'Action '404' was not found on handler 'status-code''
And that means that router totally ignores new routes...