Skip to content

Commit

Permalink
Change oneliner description of method, since it was misleading to beg…
Browse files Browse the repository at this point in the history
…in with.
  • Loading branch information
Rudd-O authored Sep 7, 2022
1 parent a80196c commit 7d7da99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plone/base/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ def _top_request(req):


def get_top_site_from_url(context, request):
"""Find the top-most site, which is still in the url path.
"""
Find the first ISite object that appears in the pre-virtual-hosting URL
path, falling back to the object pointed by the virtual hosting root.
Use this method if you need a "root object" reference to generate URLs
that will be used by, and will work correctly from the standpoint of,
Expand Down

0 comments on commit 7d7da99

Please sign in to comment.