@app.route("/")
-def hello():
+def index():
return render_genshi_template('index.html')
-@app.route("/rodelbahn/")
+@app.route("/rodelbahn/list")
def rodelbahn_list():
pass
-@app.route("/bericht/")
+@app.route("/bericht/list")
def bericht_list():
pass
+
+
+@app.route("/gasthaus/list")
+def gasthaus_list():
+ pass
+
+
+@app.route("/coordtool/index")
+def coordtool_index():
+ pass
if filename is not None and filename.startswith('/'):
filename = filename[1:]
return url_for('static', filename=filename)
- return ''
+ if controller == 'rodelbahn':
+ if action == 'index':
+ return url_for('index')
+ return url_for('{}_{}'.format(controller, action))
def wiki(self, page_title=None):
"""Creates a link to the specified page in the www.winterrodeln.org wiki"""