summaryrefslogtreecommitdiffstats
path: root/root/templates/edit.tt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-02-17 18:57:19 -0600
committerJesse Luehrs <doy@tozt.net>2011-02-17 18:57:19 -0600
commita7c37d5489611bf79889dd689abb0ac686d640c9 (patch)
tree68d9b965c581dcc049c36b5e6a5d9b877ff0312b /root/templates/edit.tt
parent251066735d9b3392ba7ea35da2fc0d6cd896e3a1 (diff)
downloadnarwhal-a7c37d5489611bf79889dd689abb0ac686d640c9.tar.gz
narwhal-a7c37d5489611bf79889dd689abb0ac686d640c9.zip
refactor this a bit
Diffstat (limited to 'root/templates/edit.tt')
-rw-r--r--root/templates/edit.tt4
1 files changed, 2 insertions, 2 deletions
diff --git a/root/templates/edit.tt b/root/templates/edit.tt
index 5f91803..a2be77c 100644
--- a/root/templates/edit.tt
+++ b/root/templates/edit.tt
@@ -1,9 +1,9 @@
<html>
<body>
<h1>[% page %]</h1>
-<p><a href="[% uri_for('controller', 'wiki', 'action', 'page', 'page_name', page) %]">View</a></p>
+<p><a href="[% uri_for('action', 'page', 'page_name', page) %]">View</a></p>
<p>
-<form method="POST" action="[% uri_for('controller', 'wiki', 'action', 'edit', 'page_name', page) %]">
+<form method="POST" action="[% uri_for('action', 'edit', 'page_name', page) %]">
<textarea name="text" rows="10" cols="30">[% text %]</textarea>
<input type="submit" value="Submit" />
</form>