Hi,
I have these two routes, they both are inside a group route class,
$this->add('/login', array(
'controller' => 'user',
'action' => 'login'
))->setName("login");
and second one after the first one,
$this->addGet('/{address}', array(
'controller' => 'user',
'action' => 'profile',
'address' => 1
))->setName("profile");
Normally, if a user tries to open: https://www.example.com/login, he/she should see a login page, but it redirects to profile
route.
Where is the problem?