forked from orbit-oss/flask
Single quotes for consistency
This commit is contained in:
parent
4e12eb4c74
commit
7d7d810aea
1 changed files with 1 additions and 1 deletions
|
|
@ -952,7 +952,7 @@ class Flask(_PackageBoundObject):
|
|||
:class:`~werkzeug.routing.Rule` object.
|
||||
"""
|
||||
def decorator(f):
|
||||
endpoint = options.pop("endpoint", None)
|
||||
endpoint = options.pop('endpoint', None)
|
||||
self.add_url_rule(rule, endpoint, f, **options)
|
||||
return f
|
||||
return decorator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue