From 98ee24bc1092f7dccc261a801cb52f58329c79cb Mon Sep 17 00:00:00 2001 From: David Renie Date: Mon, 3 Dec 2012 18:23:33 -0800 Subject: [PATCH] Fix 'View Full Commit History' link to link to the history for the current branch rather than the default branch --- .../diffusion/controller/DiffusionRepositoryController.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/applications/diffusion/controller/DiffusionRepositoryController.php b/src/applications/diffusion/controller/DiffusionRepositoryController.php index 94b0916a02..b1c547c279 100644 --- a/src/applications/diffusion/controller/DiffusionRepositoryController.php +++ b/src/applications/diffusion/controller/DiffusionRepositoryController.php @@ -62,7 +62,10 @@ final class DiffusionRepositoryController extends DiffusionController { $all = phutil_render_tag( 'a', array( - 'href' => "/diffusion/{$callsign}/history/", + 'href' => $drequest->generateURI( + array( + 'action' => 'history', + )), ), 'View Full Commit History');