summaryrefslogtreecommitdiff
path: root/pyramid/router.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyramid/router.py')
-rw-r--r--pyramid/router.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/router.py b/pyramid/router.py
index 5190311d2..908fdc46c 100644
--- a/pyramid/router.py
+++ b/pyramid/router.py
@@ -27,7 +27,7 @@ from pyramid.events import (
from pyramid.exceptions import PredicateMismatch
from pyramid.httpexceptions import HTTPNotFound
from pyramid.request import Request
-from pyramid.view import find_views
+from pyramid.view import _find_views
from pyramid.threadlocal import manager
from pyramid.traversal import (
@@ -139,7 +139,7 @@ class Router(object):
# find a view callable
context_iface = providedBy(context)
- views_iter = find_views(
+ views_iter = _find_views(
registry,
request.request_iface,
context_iface,