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.
This commit is contained in:
@@ -22,6 +22,10 @@ final class PhabricatorApplicationMacro extends PhabricatorApplication {
|
|||||||
return self::GROUP_UTILITIES;
|
return self::GROUP_UTILITIES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getQuickCreateURI() {
|
||||||
|
return $this->getBaseURI().'create/';
|
||||||
|
}
|
||||||
|
|
||||||
public function getRoutes() {
|
public function getRoutes() {
|
||||||
return array(
|
return array(
|
||||||
'/macro/' => array(
|
'/macro/' => array(
|
||||||
|
|||||||
Reference in New Issue
Block a user