summaryrefslogtreecommitdiff
path: root/routes/mapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'routes/mapper.py')
-rw-r--r--routes/mapper.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/routes/mapper.py b/routes/mapper.py
index 8979253..ea55cda 100644
--- a/routes/mapper.py
+++ b/routes/mapper.py
@@ -400,8 +400,9 @@ class Mapper(SubMapperParent):
else:
return ''
- table = [('Route name', 'Methods', 'Path')] + \
- [(r.name or '', format_methods(r), r.routepath or '')
+ table = [('Route name', 'Methods', 'Path', 'Controller', 'action')] + \
+ [(r.name or '', format_methods(r), r.routepath or '',
+ r.defaults.get('controller', ''), r.defaults.get('action', ''))
for r in self.matchlist]
widths = [max(len(row[col]) for row in table)