@app.route('/canonical/path/', endpoint='foo-canonical')
@app.route('/alternate/path/')
def foo():
    return 'hi!'

@app.route('/wheee')
def bar():
    return 'canonical path is %s, alternative is %s' % (url_for(
        'foo-canonical'), url_for('foo'))
How do I use url_for if my method has multiple route annotations?