1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 06:20:56 +01:00

After a file upload, take the user to the info page, not the view page

Summary: Fixes T5588. If you upload an image, we currently take you to the image URL, but this makes it hard to figure out the monogram for use elsewhere.

Test Plan: Uploaded a file and was taken to the info page.

Reviewers: joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T5588

Differential Revision: https://secure.phabricator.com/D9872
This commit is contained in:
epriestley 2014-07-10 06:39:23 -07:00
parent a230e0fab7
commit d83bf5ea06

View file

@ -23,7 +23,7 @@ final class PhabricatorFileUploadController extends PhabricatorFileController {
} }
if (!$errors) { if (!$errors) {
return id(new AphrontRedirectResponse())->setURI($file->getViewURI()); return id(new AphrontRedirectResponse())->setURI($file->getInfoURI());
} }
} }