]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/__init__.py
Whitespace cosmetics.
[philipp/winterrodeln/wradmin.git] / wradmin / __init__.py
index 6d8684f37dfbb1286cfa00637da26e6005b1f1ee..ebb1c94aa539be39b9e16edccbc5ed3d7ffb22b3 100644 (file)
@@ -54,21 +54,26 @@ 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)