change route.describe() call

This commit is contained in:
Laura Klünder 2016-12-24 01:41:32 +01:00
parent c527392749
commit fa8561b69a
3 changed files with 10 additions and 10 deletions

View file

@ -213,6 +213,7 @@ def main(request, location=None, origin=None, destination=None):
except NotYetRoutable:
ctx.update({'error': 'notyetroutable'})
else:
route.describe(allowed_ctypes)
ctx.update({'route': route})
response = render(request, 'site/main.html', ctx)