1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 01:10:58 +01:00

Redirect to profile after watching a project, not default page

Summary: Ref T10054.

Test Plan: watched project o_O

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10054

Differential Revision: https://secure.phabricator.com/D15095
This commit is contained in:
epriestley 2016-01-22 17:26:46 -08:00
parent b1f3e02d82
commit 66ef506808

View file

@ -20,7 +20,7 @@ final class PhabricatorProjectWatchController
$via = $request->getStr('via'); $via = $request->getStr('via');
if ($via == 'profile') { if ($via == 'profile') {
$done_uri = $project->getURI(); $done_uri = "/project/profile/{$id}/";
} else { } else {
$done_uri = "/project/members/{$id}/"; $done_uri = "/project/members/{$id}/";
} }