Skip to content

Commit b7dc460

Browse files
committed
Fix docs
1 parent 062d9f9 commit b7dc460

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CHANGES/12255.bugfix.feature.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Fixed :py:class:`~aiohttp.StaticResource` not resolving urls when adding them via the internal ``_routes`` property.
1+
Fixed :py:class:`~aiohttp.web.StaticResource` not resolving urls when adding them via the internal ``_routes`` property.
22
You had to also add the method to the ``_allowed_methods`` property set, which is not ideal.
33

4-
Added :py:meth:`~aiohttp.StaticResource.add_route` and :py:meth:`~aiohttp.StaticResource.register_route`
5-
to :py:class:`~aiohttp.StaticResource` to handle this same :py:class:`~aiohttp.Resource`.
4+
Added :py:meth:`~aiohttp.web.StaticResource.add_route` and :py:meth:`~aiohttp.web.StaticResource.register_route`
5+
to :py:class:`~aiohttp.web.StaticResource` to handle this same :py:class:`~aiohttp.web.Resource`.
66
-- by :user:`BlindChickens`.

0 commit comments

Comments
 (0)