summaryrefslogtreecommitdiffstats
path: root/lib/Narwhal/Component/Wiki.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Narwhal/Component/Wiki.pm')
-rw-r--r--lib/Narwhal/Component/Wiki.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Narwhal/Component/Wiki.pm b/lib/Narwhal/Component/Wiki.pm
index ce1fbbf..f923261 100644
--- a/lib/Narwhal/Component/Wiki.pm
+++ b/lib/Narwhal/Component/Wiki.pm
@@ -3,7 +3,7 @@ use Moose;
with 'Narwhal::Component::Role::Wiki';
-sub page {
+sub view {
my $self = shift;
my ($req, $page_name) = @_;
@@ -31,7 +31,7 @@ sub page {
);
}
-sub old_page {
+sub view_old {
my $self = shift;
my ($req, $page_name, $rev) = @_;