Skip to content

Commit

Permalink
Unify the uses of "urls" vs "URLs".
Browse files Browse the repository at this point in the history
Use "URLs", which is more prevailing in the source code.
  • Loading branch information
s3rvac committed Oct 27, 2014
1 parent d1423b3 commit 3767e7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -4,7 +4,7 @@
<h1>This is blueprint example</h1>
<p>
A simple page blueprint is registered under / and /pages
you can access it using this urls:
you can access it using this URLs:
<ul>
<li><a href="{{ url_for('simple_page.show', page='hello') }}">/hello</a>
<li><a href="{{ url_for('simple_page.show', page='world') }}">/world</a>
Expand Down
4 changes: 2 additions & 2 deletions flask/helpers.py
Expand Up @@ -264,7 +264,7 @@ def external_url_handler(error, endpoint, values):
'executed when application context is available.')

# If request specific information is available we have some extra
# features that support "relative" urls.
# features that support "relative" URLs.
if reqctx is not None:
url_adapter = reqctx.url_adapter
blueprint_name = request.blueprint
Expand All @@ -284,7 +284,7 @@ def external_url_handler(error, endpoint, values):
external = values.pop('_external', False)

# Otherwise go with the url adapter from the appctx and make
# the urls external by default.
# the URLs external by default.
else:
url_adapter = appctx.url_adapter
if url_adapter is None:
Expand Down

0 comments on commit 3767e7b

Please sign in to comment.