title: routes with default value acts differently on its type
body: <p>below is part of my code</p>
  <pre class="lang-py prettyprint-override"><code>@app.route('/users/', defaults={'user_id': 1})
  @app.route('/users/&lt;int:user_id&gt;')
  </code></pre>
  <p>if I go to <code>/users/1</code> then, it redirects me to <code>/users/</code>.</p>
  <p>but if I remove int: part, like below</p>
  <pre class="lang-py prettyprint-override"><code>@app.route('/users/', defaults={'user_id': 1})
  @app.route('/users/&lt;user_id&gt;')
  </code></pre>
  <p>It doesn't redirect me and path stays at <code>/users/1</code>.
  This is confusing me.
  What is going on and what is the best practice?</p>
  <p>here's screen shot of my console outputs:
  <a href="https://i.stack.imgur.com/s5zOq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s5zOq.png" alt="enter image description here" /></a></p>
  <p>as you can see, if I go to <code>/users/1</code> flask redirects me to <code>/users/</code></p>