Fix bug when rendering email bounce links.

This commit is contained in:
Lance Edgar 2016-02-26 13:06:36 -06:00
parent 80f034e773
commit 4cbdb51545

View file

@ -60,4 +60,4 @@ class BounceMessageFieldRenderer(fsblob.FileFieldRenderer):
def get_url(self, filename): def get_url(self, filename):
bounce = self.field.parent.model bounce = self.field.parent.model
return self.request.route_url('emailbounce.download', uuid=bounce.uuid) return self.request.route_url('emailbounces.download', uuid=bounce.uuid)