Skip to content

Commit

Permalink
Merge pull request #765 from rutsky/patch-7
Browse files Browse the repository at this point in the history
fix typo: "methoc"
  • Loading branch information
asvetlov committed Feb 5, 2016
2 parents 822e909 + 2edf3b7 commit caf1798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/new_router.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ not used widely).
shortcut for::

resource = app.router.add_resource(path, name=name)
route = resource.add_route(methoc, handler)
route = resource.add_route(method, handler)
return route

``app.router.register_route(...)`` is still supported, it creates
Expand Down

0 comments on commit caf1798

Please sign in to comment.