summaryrefslogtreecommitdiffstats
path: root/lib/Narwhal/Component/Wiki/Edit.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Narwhal/Component/Wiki/Edit.pm')
-rw-r--r--lib/Narwhal/Component/Wiki/Edit.pm24
1 files changed, 1 insertions, 23 deletions
diff --git a/lib/Narwhal/Component/Wiki/Edit.pm b/lib/Narwhal/Component/Wiki/Edit.pm
index fabeb0c..d05e7a0 100644
--- a/lib/Narwhal/Component/Wiki/Edit.pm
+++ b/lib/Narwhal/Component/Wiki/Edit.pm
@@ -1,29 +1,7 @@
package Narwhal::Component::Wiki::Edit;
use Moose;
-has kioku => (
- isa => 'KiokuX::Model',
- required => 1,
- handles => 'KiokuDB::Role::API',
-);
-
-has tt => (
- isa => 'Template',
- required => 1,
- handles => ['process'],
-);
-
-has scope => (
- is => 'ro',
- isa => 'KiokuDB::LiveObjects::Scope',
- lazy => 1,
- default => sub { shift->new_scope },
-);
-
-sub BUILD {
- my $self = shift;
- $self->scope;
-}
+with 'Narwhal::Component::Role::Wiki';
sub get {
my $self = shift;