summaryrefslogtreecommitdiffstats
path: root/lib/Narwhal/Component/Wiki
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-02-18 10:16:53 -0600
committerJesse Luehrs <doy@tozt.net>2011-02-18 11:52:22 -0600
commit1d7c03c912e1064edd8dfb293210a217aba48dd6 (patch)
tree71e8ebb97cef1dd7ddbb9a4a65bf0f41e2406aaf /lib/Narwhal/Component/Wiki
parent62a18e4d0e05f5d8ef18a7c25456213060e39521 (diff)
downloadnarwhal-1d7c03c912e1064edd8dfb293210a217aba48dd6.tar.gz
narwhal-1d7c03c912e1064edd8dfb293210a217aba48dd6.zip
use 'view' instead of 'page' for the action name
Diffstat (limited to 'lib/Narwhal/Component/Wiki')
-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,
})
);