]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/__init__.py
Whitespace cosmetics.
[philipp/winterrodeln/wradmin.git] / wradmin / __init__.py
index c80fc17d6d08371e62d04ecad9d5c842263cc5f5..ebb1c94aa539be39b9e16edccbc5ed3d7ffb22b3 100644 (file)
@@ -54,25 +54,35 @@ def rodelbahn_update():
 def rodelbahn_update_regioncache():
     return RodelbahnController().update_regioncache()
 
+
 @app.route("/rodelbahn/update_mapcache")
 def rodelbahn_update_mapcache():
     return RodelbahnController().update_mapcache()
 
+
 @app.route("/bericht/list")
+@login_required
 def bericht_list():
     return BerichtController().list()
 
 
 @app.route("/bericht/view/<int:id>")
+@login_required
 def bericht_view(id):
     return BerichtController().view(id)
 
 
 @app.route("/bericht/change_date_invalid/<int:id>", methods=['POST'])
+@login_required
 def bericht_change_date_invalid(id):
     return BerichtController().change_date_invalid(id)
 
 
+@app.route("/bericht/update_reportcache")
+def bericht_update_reportcache():
+    return BerichtController().update_reportcache()
+
+
 @app.route("/gasthaus/list")
 def gasthaus_list():
     return GasthausController().list()