Commit fe344780 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Updated delete links to correct location.

parent 2e2b9af9
......@@ -30,7 +30,8 @@ def application(environ, start_response):
link_text = '<a href="%s">%s</a>'
short_url_link = link_text % (short_url, short_url)
long_url_link = link_text % (long_url, long_url)
delete_link = link_text % ("#", "<strong>Delete</strong>")
delete_link = "/delete?u=%s" % short_url
delete_link = link_text % (delete_link, "<strong>Delete</strong>")
if expiration <= 0:
expiration = "never"
......
Markdown is supported
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