summaryrefslogtreecommitdiffstats
path: root/lib/Narwhal/Component/Role/Wiki.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Narwhal/Component/Role/Wiki.pm')
-rw-r--r--lib/Narwhal/Component/Role/Wiki.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Narwhal/Component/Role/Wiki.pm b/lib/Narwhal/Component/Role/Wiki.pm
index a48cf9b..e7d7c36 100644
--- a/lib/Narwhal/Component/Role/Wiki.pm
+++ b/lib/Narwhal/Component/Role/Wiki.pm
@@ -4,7 +4,14 @@ use Moose::Role;
has kioku => (
isa => 'KiokuX::Model',
required => 1,
- handles => 'KiokuDB::Role::API',
+ handles => [
+ 'get_user',
+ 'get_page',
+ 'get_page_rev',
+ 'create_page_rev',
+ 'new_scope',
+ 'txn_do',
+ ],
);
has tt => (