mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-26 08:09:51 -04:00
Flask will pick the first route that matches. Decorators get applied from innermost to outermost. So if the same endpoint is served at `/abc` and `/123` the one used when `url_for` is generating a URL is whichever decorator is lowest (in terms of line number). It doesn’t functionally make a difference, but it’s causing the functional tests to fail at the moment. And shorter URLs are nicer, so I think it makes sense to change here, rather than change the tests.