From 42e875e5bcf274b1b316759c4a9be1abd26d00b7 Mon Sep 17 00:00:00 2001 From: Anh Nhan Nguyen Date: Tue, 26 Mar 2013 15:01:51 -0700 Subject: [PATCH] Make Pholio mock image thumbnails publicly visible Summary: Refs T2652 - This should make all of Pholio mocks publicly visible The rest that is to be done is more generic, like the ActionListView etc. Test Plan: set mock to public, visited it in another browser without user session Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2652 Differential Revision: https://secure.phabricator.com/D5454 --- .../pholio/controller/PholioInlineThumbController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/applications/pholio/controller/PholioInlineThumbController.php b/src/applications/pholio/controller/PholioInlineThumbController.php index dfc906e689..219996fe26 100644 --- a/src/applications/pholio/controller/PholioInlineThumbController.php +++ b/src/applications/pholio/controller/PholioInlineThumbController.php @@ -7,6 +7,10 @@ final class PholioInlineThumbController extends PholioController { private $imageid; + public function shouldAllowPublic() { + return true; + } + public function willProcessRequest(array $data) { $this->imageid = idx($data, 'imageid'); } -- 2.51.2