mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 20:10:55 +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:
parent
a230e0fab7
commit
d83bf5ea06
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ final class PhabricatorFileUploadController extends PhabricatorFileController {
|
|||
}
|
||||
|
||||
if (!$errors) {
|
||||
return id(new AphrontRedirectResponse())->setURI($file->getViewURI());
|
||||
return id(new AphrontRedirectResponse())->setURI($file->getInfoURI());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue