title: How do I use url_for if my method has multiple route annotations?
body: <p>So I have a method that is accessible by multiple routes:</p>
  
  <pre><code>@app.route("/canonical/path/")
  @app.route("/alternate/path/")
  def foo():
      return "hi!"
  </code></pre>
  
  <p>Now, how can I call <code>url_for("foo")</code> and know that I will get the first route?</p>