Switch to side-by-side view

--- a/Allura/allura/controllers/attachments.py
+++ b/Allura/allura/controllers/attachments.py
@@ -12,11 +12,14 @@
         self.artifact = artifact
 
     @expose()
-    def _lookup(self, filename, *args):
-        if not args:
-            filename = request.path.rsplit('/', 1)[-1]
-        filename=unquote(filename)
-        return self.AttachmentControllerClass(filename), args
+    def _lookup(self, filename=None, *args):
+        if filename:
+            if not args:
+                filename = request.path.rsplit('/', 1)[-1]
+            filename=unquote(filename)
+            return self.AttachmentControllerClass(filename), args
+        else:
+            raise exc.HTTPNotFound
 
 class AttachmentController(BaseController):
     AttachmentClass = None