From c7469bbae8839375f73f6306a819e8215dde7d34 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 24 Sep 2013 22:55:22 -0400 Subject: [PATCH] profile, document --- fablib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fablib.py b/fablib.py index 166bb4c..b3f57a3 100644 --- a/fablib.py +++ b/fablib.py @@ -201,14 +201,14 @@ class Document(Resource): api.add_resource(Document, '//') class DocumentText(Resource): - def get(self, key): + def get(self, profile, document): return trunk.get(key) api.add_resource(DocumentText, '///text') class DocumentHTML(Resource): - def get(self, key): + def get(self, profile, document): return trunk.get(key) api.add_resource(DocumentHTML, '///html')