1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 08:42:41 +01:00

Use ?view= in Blame previous but not in line link

Summary: I didn't notice that D3494 is revert of D3453.

Test Plan: Checked both line and Blame previous links.

Reviewers: epriestley, fdoemges

Reviewed By: fdoemges

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3566
This commit is contained in:
vrana 2012-09-28 16:41:39 -07:00
parent b43f84d6dc
commit e5e3617e46

View file

@ -469,7 +469,6 @@ final class DiffusionBrowseFileController extends DiffusionController {
'action' => 'browse',
'line' => $line['line'],
'stable' => true,
'params' => array('view' => 'blame'),
));
$blame = array();
@ -540,10 +539,11 @@ final class DiffusionBrowseFileController extends DiffusionController {
'D'.$revision_id);
}
$uri = $line_href->alter('before', $commit);
$before_link = javelin_render_tag(
'a',
array(
'href' => $line_href->alter('before', $commit),
'href' => $uri->setQueryParam('view', 'blame'),
'sigil' => 'has-tooltip',
'meta' => array(
'tip' => 'Skip Past This Commit',