Skip to content

Commit

Permalink
Merge 528b729 into b2eac62
Browse files Browse the repository at this point in the history
  • Loading branch information
hpincket committed Jun 13, 2015
2 parents b2eac62 + 528b729 commit 229e434
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions doc/user/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -559,11 +559,8 @@ entire resource like so:
# ...
And you can apply hooks globally by passing them into the API class
initializer:

.. code:: python
falcon.API(before=[extract_project_id])
initializer, though this has been depreciated in favor of middleware.
(See :ref:`falcon.middleware <middleware>`)

To learn more about hooks, take a look at the docstring for the ``API`` class,
as well the docstrings for the ``falcon.before`` and ``falcon.after`` decorators.
Expand Down

0 comments on commit 229e434

Please sign in to comment.