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

Avoid double '/' in Phriction URL

Test Plan:
/project/view/11/
Hover Wiki.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1601
This commit is contained in:
vrana 2012-02-10 23:45:44 -08:00
parent f2636fcb04
commit 63fbd5db04

View file

@ -61,7 +61,7 @@ class PhabricatorProjectProfileController
$external_arrow = "\xE2\x86\x97"; $external_arrow = "\xE2\x86\x97";
$tasks_uri = '/maniphest/view/all/?projects='.$project->getPHID(); $tasks_uri = '/maniphest/view/all/?projects='.$project->getPHID();
$slug = PhrictionDocument::normalizeSlug($project->getName()); $slug = PhrictionDocument::normalizeSlug($project->getName());
$phriction_uri = '/w/projects/'.$slug.'/'; $phriction_uri = '/w/projects/'.$slug;
$edit_uri = '/project/edit/'.$project->getID().'/'; $edit_uri = '/project/edit/'.$project->getID().'/';