forked from orbit-oss/flask
Fixed some embarrassing grammar
This commit is contained in:
parent
977e7660ac
commit
dfdcac2292
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ class Blueprint(_PackageBoundObject):
|
||||||
the :func:`url_for` function is prefixed with the name of the blueprint.
|
the :func:`url_for` function is prefixed with the name of the blueprint.
|
||||||
"""
|
"""
|
||||||
if endpoint:
|
if endpoint:
|
||||||
assert '.' not in endpoint, "Blueprint endpoint's should not contain dot's"
|
assert '.' not in endpoint, "Blueprint endpoints should not contain dots"
|
||||||
self.record(lambda s:
|
self.record(lambda s:
|
||||||
s.add_url_rule(rule, endpoint, view_func, **options))
|
s.add_url_rule(rule, endpoint, view_func, **options))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue