diff options
Diffstat (limited to 'pastebin.py')
-rw-r--r-- | pastebin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pastebin.py b/pastebin.py index 3824285..1a54812 100644 --- a/pastebin.py +++ b/pastebin.py @@ -89,6 +89,7 @@ def new_paste(): return render_template('new_paste.html', parent=parent) +@app.route('/<int:paste_id>/') @app.route('/<int:paste_id>') def show_paste(paste_id): paste = Paste.query.options(db.eagerload('children')).get_or_404(paste_id) |