Lukas W.
Well-known member
- Affected version
- 2.0.0 Beta 4
Whenever you create a nested route, that is part of another route, you're always required to add the trailing slash, or the controller is trying to access the action on the parent controller.
For example if you open up https://xenforo.com/community/account/connected-accounts/, everything works fine, but as soon as you remove the trailing slash, the link breaks (https://xenforo.com/community/account/connected-accounts), as the router tries to access actionConnectedAccounts on the account controller. This is a really confusing behaviour, as inexperienced users likely will not be able to tell (let alone understand) the difference.
For example if you open up https://xenforo.com/community/account/connected-accounts/, everything works fine, but as soon as you remove the trailing slash, the link breaks (https://xenforo.com/community/account/connected-accounts), as the router tries to access actionConnectedAccounts on the account controller. This is a really confusing behaviour, as inexperienced users likely will not be able to tell (let alone understand) the difference.