summaryrefslogtreecommitdiffstats
path: root/lib/Narwhal.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Narwhal.pm')
-rw-r--r--lib/Narwhal.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Narwhal.pm b/lib/Narwhal.pm
index aae8a25..4437027 100644
--- a/lib/Narwhal.pm
+++ b/lib/Narwhal.pm
@@ -39,7 +39,7 @@ router as {
route '/page/:page_name' => 'wiki.page', (
page_name => { isa => 'Str' },
);
- route '/edit/:page_name' => 'edit', (
+ route '/edit/:page_name' => 'http-method:edit', (
page_name => { isa => 'Str' },
);
}, (