fdfd
This commit is contained in:
parent
a6b611f68f
commit
d9c9f74417
1 changed files with 3 additions and 1 deletions
|
@ -125,7 +125,9 @@ def messagereply(v, username, id):
|
|||
g.db.add(new_aux)
|
||||
notif = Notification(comment_id=new_comment.id, user_id=user.id)
|
||||
g.db.add(notif)
|
||||
return redirect(request.referrer)
|
||||
|
||||
if request.referrer == '/notifications': return redirect("/notifications?all=true")
|
||||
else: return redirect(request.referrer)
|
||||
|
||||
@app.get("/songs/<id>")
|
||||
def songs(id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue