mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 23:40:57 +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:
parent
b43f84d6dc
commit
e5e3617e46
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue