Permalink
Browse files

Links with slash in the end - for /map/ and /transform/

  • Loading branch information...
1 parent 10e52b8 commit 7e51630591a0835a17cb475c44015fc13be5ee87 @klokan klokan committed Mar 17, 2016
Showing with 8 additions and 0 deletions.
  1. +8 −0 app.py
View
@@ -1689,10 +1689,18 @@ def index(id,format):
def index():
return template('./templates/map', version=VERSION)
+@route('/map/')
+def index():
+ return redirect("/map");
+
@route('/transform')
def index():
return template('./templates/transform', version=VERSION)
+@route('/transform/')
+def index():
+ return redirect("/transform");
+
@route('/about')
def index():
return template('./templates/about', version=VERSION)

0 comments on commit 7e51630

Please sign in to comment.