diff options
author | mnandri <mnandri@eumguccion.corporate.thoughtworks.com> | 2015-12-15 14:42:20 +0100 |
---|---|---|
committer | mnandri <mnandri@eunglick.corporate.thoughtworks.com> | 2015-12-18 11:22:34 +0100 |
commit | 93350f99193b78c6adf0b79b8565fe477912fd80 (patch) | |
tree | 3f4984504b976cecd629b59ee3cf237091002835 /service/pixelated/resources/root_resource.py | |
parent | b7ce40f3c7f3b5c720cc4ecfb13555519ac6a108 (diff) |
backend that handles post of a single attachment file
Issue #548
Diffstat (limited to 'service/pixelated/resources/root_resource.py')
-rw-r--r-- | service/pixelated/resources/root_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/resources/root_resource.py b/service/pixelated/resources/root_resource.py index f1e5d02b..56da5cc7 100644 --- a/service/pixelated/resources/root_resource.py +++ b/service/pixelated/resources/root_resource.py @@ -41,7 +41,7 @@ class RootResource(Resource): self.putChild('assets', File(self._static_folder)) self.putChild('keys', KeysResource(keymanager)) - self.putChild('attachment', AttachmentsResource(mail_service)) + self.putChild(AttachmentsResource.BASE_URL, AttachmentsResource(mail_service)) self.putChild('contacts', ContactsResource(search_engine)) self.putChild('features', FeaturesResource()) self.putChild('tags', TagsResource(search_engine)) |