Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid duplication in r.bridgetown implementation (#939)
By choosing an appropriate argument to `on`, based on the base path, we don't need a separate if statement block and manual return. Additionally, the nil at the end is not needed, as `on` will either throw if it handles the request, or return nil if it does not.
- Loading branch information