From 66ef506808ddc1ecf7b78b7a8ea4d682563f2b09 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 22 Jan 2016 17:26:46 -0800 Subject: [PATCH] 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 --- .../project/controller/PhabricatorProjectWatchController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/project/controller/PhabricatorProjectWatchController.php b/src/applications/project/controller/PhabricatorProjectWatchController.php index 263c508441..9624a0b730 100644 --- a/src/applications/project/controller/PhabricatorProjectWatchController.php +++ b/src/applications/project/controller/PhabricatorProjectWatchController.php @@ -20,7 +20,7 @@ final class PhabricatorProjectWatchController $via = $request->getStr('via'); if ($via == 'profile') { - $done_uri = $project->getURI(); + $done_uri = "/project/profile/{$id}/"; } else { $done_uri = "/project/members/{$id}/"; }