update RecentChanges action to point to page

master
Joey Hess 2008-01-29 12:20:17 -05:00
parent e616fdab85
commit 7a4b7b1964
1 changed files with 5 additions and 3 deletions

View File

@ -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++;
}