summaryrefslogtreecommitdiff
path: root/service/pixelated/resources/root_resource.py
diff options
context:
space:
mode:
authorNavaL <mnandri@thoughtworks.com>2016-01-18 17:38:21 +0100
committerNavaL <mnandri@thoughtworks.com>2016-01-18 17:38:21 +0100
commite5127c5710abbd77527d2dfa083a506a68ee23b3 (patch)
tree254ea720d34f74b8a6c7c1f9da740325c2c47441 /service/pixelated/resources/root_resource.py
parentbb9a1c8827c02ac71c16b7d5d0b4c4c18b34f24c (diff)
migrating contact resources to use the services 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 af3c6c98..40895bff 100644
--- a/service/pixelated/resources/root_resource.py
+++ b/service/pixelated/resources/root_resource.py
@@ -42,7 +42,7 @@ class RootResource(Resource):
self.putChild('assets', File(self._static_folder))
self.putChild('keys', KeysResource(services_factory))
self.putChild(AttachmentsResource.BASE_URL, AttachmentsResource(services_factory))
- self.putChild('contacts', ContactsResource(search_engine))
+ self.putChild('contacts', ContactsResource(services_factory))
self.putChild('features', FeaturesResource())
self.putChild('tags', TagsResource(search_engine))
self.putChild('mails', MailsResource(mail_service, draft_service))