When the controller is reverted to the "main" controller, the name we have set as the controller needs to become "main" and the method exec needs to test against that name.
For example, for the URL:
/logout
if there is no controller named "logout" the main controller should lookup for a method named "logout".
Currently the method fallback doesn't work.
When the controller is reverted to the "main" controller, the name we have set as the controller needs to become "main" and the method exec needs to test against that name.
For example, for the URL:
if there is no controller named "logout" the main controller should lookup for a method named "logout".
Currently the method always executed is "index"