Skip to content

Commit

Permalink
Make Pholio mock image thumbnails publicly visible
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AnhNhan authored and epriestley committed Mar 26, 2013
1 parent 92003b6 commit 42e875e
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -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');
}
Expand Down

0 comments on commit 42e875e

Please sign in to comment.