Don't add trailing slash to Search Owners link

Test Plan: Clicked it.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4609
This commit is contained in:
vrana
2013-01-23 18:00:22 -08:00
parent cd6a4e764a
commit c9870b12ae
2 changed files with 52 additions and 44 deletions

View File

@@ -79,10 +79,11 @@ abstract class DiffusionController extends PhabricatorController {
// TODO: URI encoding might need to be sorted out for this link.
$nav->addFilter(
'',
"Search Owners \xE2\x86\x97",
'/owners/view/search/'.
'?repository='.phutil_escape_uri($drequest->getCallsign()).
'&path='.phutil_escape_uri('/'.$drequest->getPath()),
"Search Owners \xE2\x86\x97");
'&path='.phutil_escape_uri('/'.$drequest->getPath()));
return $nav;
}