--- a/Allura/allura/controllers/attachments.py
+++ b/Allura/allura/controllers/attachments.py
@@ -53,7 +53,7 @@
return attachment
@expose()
- def index(self, delete=False, embed=True, **kw):
+ def index(self, delete=False, **kw):
if request.method == 'POST':
require_access(self.artifact, self.edit_perm)
if delete:
@@ -64,7 +64,7 @@
except exc.HTTPNotFound:
pass
redirect(request.referer)
- return self.attachment.serve(embed)
+ return self.attachment.serve(False)
@expose()
def thumb(self, embed=True):