Support logged-out users in Fund

Summary: Ref T5835. Sprinkle `shouldAllowPublic()` around to let logged-out users gain access.

Test Plan: Viewed an initiative while logged out.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5835

Differential Revision: https://secure.phabricator.com/D10683
This commit is contained in:
epriestley
2014-10-13 11:14:17 -07:00
parent fcdd4a533f
commit 2172f59ed5
5 changed files with 18 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ final class FundInitiativeViewController
private $id;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) {
$this->id = $data['id'];
}