I have following rules on my routing
$router->add('/profile/{name}', array( 'module' => 'frontend', 'namespace' => 'www\Frontend\Controllers\', 'controller' => 'profile', 'action' => 'view', "name" => 1, ));
This works fine, however i want to match following routes to differetn action how do i do that ?
$router->add('/profile/edit', array( 'module' => 'frontend', 'namespace' => 'xxx\Frontend\Controllers\', 'controller' => 'profile', 'action' => 'edit', "name" => 1, ));