I recently started using Silex. I have been grouping certain functionality of my application in a separate ControllerProviderInterace (such as putting login and register together).
My issue is that these ControllerProviders are 'mounted' under a sub-url, such as:
$app->mount('/account', new Controller\Account() );
How would I 'alias', rewrite, or map certain urls to other urls. For instance, I would like the following mapping:
/login -> /account/login