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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Narwhal/Component/Wiki/Edit.pm b/lib/Narwhal/Component/Wiki/Edit.pm
index 3631e84..101739e 100644
--- a/lib/Narwhal/Component/Wiki/Edit.pm
+++ b/lib/Narwhal/Component/Wiki/Edit.pm
@@ -56,7 +56,7 @@ sub post {
my $res = $req->new_response(303);
$res->location(
$req->uri_for({
- action => 'page',
+ action => 'view',
page_name => $page_name,
})
);