projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e616fda
)
update RecentChanges action to point to page
author
Joey Hess
<joey@kodama.kitenet.net>
Tue, 29 Jan 2008 17:20:17 +0000
(12:20 -0500)
committer
Joey Hess
<joey@kodama.kitenet.net>
Tue, 29 Jan 2008 17:20:17 +0000
(12:20 -0500)
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index 5684f80924f32fca82772a9b1295247c430f3883..cfe03991699b1f96d61a7a40963058fd4a209a02 100644
(file)
--- 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++;
}