summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-29 12:20:17 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-29 12:20:17 -0500
commit7a4b7b1964f35527571aee78fb7048284e5d5061 (patch)
tree8047b99388217d84a0001602205db70e02557e2d /IkiWiki
parente616fdab85d9f72f13c8f72322db2a8364c2803c (diff)
update RecentChanges action to point to page
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 5684f8092..cfe039916 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -82,9 +82,11 @@ sub genpage ($$) { #{{{
if (length $config{cgiurl}) {
$template->param(editurl => cgiurl(do => "edit", page => pagetitle($page, 1)));
$template->param(prefsurl => cgiurl(do => "prefs"));
- if ($config{rcs}) {
- $template->param(recentchangesurl => cgiurl(do => "recentchanges"));
- }
+ $actions++;
+ }
+
+ if ($config{rcs}) {
+ $template->param(recentchangesurl => urlto("recentchanges", $page));
$actions++;
}