summaryrefslogtreecommitdiff
path: root/service/pixelated/resources/root_resource.py
diff options
context:
space:
mode:
authorNavaL <mnandri@thoughtworks.com>2016-01-18 17:27:19 +0100
committerNavaL <mnandri@thoughtworks.com>2016-01-18 17:27:19 +0100
commitbb9a1c8827c02ac71c16b7d5d0b4c4c18b34f24c (patch)
tree7027cf3f00276753c12514864c9527459063d77a /service/pixelated/resources/root_resource.py
parentc5d61bc8001b16e3dcedda9fd1229c27cca4bd3b (diff)
migrating AttachmentsResources to use the service factory
Issue #576
Diffstat (limited to 'service/pixelated/resources/root_resource.py')
-rw-r--r--service/pixelated/resources/root_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/resources/root_resource.py b/service/pixelated/resources/root_resource.py
index fac63bd7..af3c6c98 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(services_factory))
- self.putChild(AttachmentsResource.BASE_URL, AttachmentsResource(mail_service))
+ self.putChild(AttachmentsResource.BASE_URL, AttachmentsResource(services_factory))
self.putChild('contacts', ContactsResource(search_engine))
self.putChild('features', FeaturesResource())
self.putChild('tags', TagsResource(search_engine))