From bba9f4cf2125e85407d0ce3a4c10d6a8db1e09ed Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Tue, 2 Jul 2013 20:27:15 -0700 Subject: [PATCH] Add the quick shortcut to create an image macro. Maybe. I don't actually have Phabricator installed locally so I have no idea if this works, but in theory this should add one of the + buttons in the left sidebar to quickly add a new macro. --- .../macro/application/PhabricatorApplicationMacro.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/applications/macro/application/PhabricatorApplicationMacro.php b/src/applications/macro/application/PhabricatorApplicationMacro.php index 0233710c10..2a4db531fb 100644 --- a/src/applications/macro/application/PhabricatorApplicationMacro.php +++ b/src/applications/macro/application/PhabricatorApplicationMacro.php @@ -21,6 +21,10 @@ final class PhabricatorApplicationMacro extends PhabricatorApplication { public function getApplicationGroup() { return self::GROUP_UTILITIES; } + + public function getQuickCreateURI() { + return $this->getBaseURI().'create/'; + } public function getRoutes() { return array(