]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/controllers/rodelbahn.py
rodelbahn_update_regioncache works now.
[philipp/winterrodeln/wradmin.git] / wradmin / controllers / rodelbahn.py
index 5af866ecd80633439c3a9709fe08e1569f0e0f04..647687b84daddd33a1225d26b40eb277bc8a87c5 100644 (file)
@@ -63,7 +63,5 @@ class RodelbahnController:
             session['flash'] = 'Die Rodelbahneinträge in den Regionslisten wurden erfolgreich aktualisiert.'
         except wrpylib.wrmwcache.UpdateCacheError as e:
             session['flash'] = str(e)
-        session.save()
         # Redirect to result page
-        return redirect(url(controller='rodelbahn', action='list'))
-
+        return redirect(url_for('rodelbahn_list'))