fdfd
This commit is contained in:
parent
bd17488b70
commit
21372125d3
3 changed files with 4 additions and 1 deletions
|
@ -19,4 +19,5 @@ def crosspost_embed(id):
|
|||
|
||||
p = get_post(id, graceful=True)
|
||||
|
||||
return render_template("submission_listing.html", listing=[p], postembed=True)
|
||||
if hasattr(g, 'v') and g.v: return render_template("submission_listing.html", listing=[p], v=g.v)
|
||||
else: return render_template("submission_listing.html", listing=[p], postembed=True)
|
|
@ -27,6 +27,7 @@ beams_client = PushNotifications(
|
|||
@app.get("/comment/<cid>")
|
||||
@app.get("/post/<pid>/<anything>/<cid>")
|
||||
@app.get("/logged_out/comment/<cid>")
|
||||
@app.get("/logged_out/post/<pid>/<anything>/<cid>")
|
||||
@auth_desired
|
||||
def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@ def submit_get(v):
|
|||
@app.get("/post/<pid>")
|
||||
@app.get("/post/<pid>/<anything>")
|
||||
@app.get("/logged_out/post/<pid>")
|
||||
@app.get("/logged_out/post/<pid>/<anything>")
|
||||
@auth_desired
|
||||
def post_id(pid, anything=None, v=None):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue