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

Macro - allow view controller to be viewed publicly

Summary: Fixes T5735, setting up Phacility for huge financial success.

Test Plan:
opened up Safari - who logs in with Safari anyway? - and could still view a macro
could also view the list of macros

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5735

Differential Revision: https://secure.phabricator.com/D10170
This commit is contained in:
Bob Trahan 2014-08-06 15:20:33 -07:00
parent 09868271bd
commit 1bd714f8ac

View file

@ -9,6 +9,10 @@ final class PhabricatorMacroViewController
$this->id = $data['id']; $this->id = $data['id'];
} }
public function shouldAllowPublic() {
return true;
}
public function processRequest() { public function processRequest() {
$request = $this->getRequest(); $request = $this->getRequest();
$user = $request->getUser(); $user = $request->getUser();