Routes are loaded and evaluated in this order:
- $routing->prepend(…) in Plugin
- $routing->prepend(…) in Application
- routing.yml in Plugin
- routing.yml in Application
- $routing->append(…) in Application
- $routing->append(…) in Plugin
If 2 routes match the same URL, the first one following this list will be chosen.
Note: connect() and append() are the same function