summaryrefslogtreecommitdiffstats
path: root/lib/Narwhal/Component/Role/Wiki.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-02-18 11:51:54 -0600
committerJesse Luehrs <doy@tozt.net>2011-02-18 11:52:22 -0600
commit3aee937a96e2ca2afc2c37fbf69274a08d5f8293 (patch)
tree7d96b7424a48912844f54a2d1cacbeb280be705d /lib/Narwhal/Component/Role/Wiki.pm
parent115416dfdce1a737ad343610d7a116e3b5db0e64 (diff)
downloadnarwhal-3aee937a96e2ca2afc2c37fbf69274a08d5f8293.tar.gz
narwhal-3aee937a96e2ca2afc2c37fbf69274a08d5f8293.zip
get a model class going
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 => (