aboutsummaryrefslogtreecommitdiff
path: root/pastebin.py
diff options
context:
space:
mode:
authorofshellohicy <ofshellohicy@gmail.com>2014-07-18 14:50:32 +0800
committerofshellohicy <ofshellohicy@gmail.com>2014-07-18 14:50:32 +0800
commit35d68cc0769f2f3c8fb0d63f85fc780b856a8209 (patch)
tree33821cc31b3fee53c20edd3da69784beea78d7f6 /pastebin.py
parentrst -> txt (diff)
downloadstackbin-35d68cc0769f2f3c8fb0d63f85fc780b856a8209.tar.gz
stackbin-35d68cc0769f2f3c8fb0d63f85fc780b856a8209.tar.bz2
stackbin-35d68cc0769f2f3c8fb0d63f85fc780b856a8209.zip
remove useless feature
Diffstat (limited to 'pastebin.py')
-rw-r--r--pastebin.py1
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)
bgstack15