Hello everyone!
Just wondering if the annotations router allows for aliases or something. For example, the login page would be accessible with both /account/login AND /login ?
/**
* @RoutePrefix("/account")
*/
class AccountController
{
/**
* @Get("/login")
*/
public function loginAction() {}
}
Can it be done within the same controller, or do i need a new controller with a route prefix set to /login which forwards the view?
Thanks!