mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 11:22:40 +01:00
fa19618d26
Summary: Fixed T2353 Test Plan: Checked whether same text generated the same URL Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2353 Differential Revision: https://secure.phabricator.com/D4551
39 lines
980 B
PHP
39 lines
980 B
PHP
<?php
|
|
|
|
final class PhabricatorApplicationMacro extends PhabricatorApplication {
|
|
|
|
public function getBaseURI() {
|
|
return '/macro/';
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return 'Image Macros and Memes';
|
|
}
|
|
|
|
public function getIconName() {
|
|
return 'macro';
|
|
}
|
|
|
|
public function getTitleGlyph() {
|
|
return "\xE2\x9A\x98";
|
|
}
|
|
|
|
public function getApplicationGroup() {
|
|
return self::GROUP_UTILITIES;
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/macro/' => array(
|
|
'' => 'PhabricatorMacroListController',
|
|
'create/' => 'PhabricatorMacroEditController',
|
|
'view/(?P<id>[1-9]\d*)/' => 'PhabricatorMacroViewController',
|
|
'comment/(?P<id>[1-9]\d*)/' => 'PhabricatorMacroCommentController',
|
|
'edit/(?P<id>[1-9]\d*)/' => 'PhabricatorMacroEditController',
|
|
'disable/(?P<id>[1-9]\d*)/' => 'PhabricatorMacroDisableController',
|
|
'meme/' => 'PhabricatorMacroMemeController',
|
|
),
|
|
);
|
|
}
|
|
|
|
}
|