Commit a8b89ca8 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

make create topic easier

parent 88be719a
...@@ -165,7 +165,7 @@ def topic_new(): ...@@ -165,7 +165,7 @@ def topic_new():
topic = Topic(,, topic = Topic(,,
db.session.add(topic) db.session.add(topic)
db.session.commit() db.session.commit()
return redirect(url_for(".event", return redirect(url_for(".event_show",
event_id = request.args.get("event_id", None) event_id = request.args.get("event_id", None)
if event_id is None: if event_id is None:
return redirect(url_for(".index")) return redirect(url_for(".index"))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment