mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-24 05:28:18 +01:00
26 lines
497 B
PHP
26 lines
497 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorApplicationSubscriptions extends PhabricatorApplication {
|
||
|
|
||
|
public function shouldAppearInLaunchView() {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public function getEventListeners() {
|
||
|
return array(
|
||
|
new PhabricatorSubscriptionsUIEventListener(),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
public function getRoutes() {
|
||
|
return array(
|
||
|
'/subscriptions/' => array(
|
||
|
'(?P<action>add|delete)/'.
|
||
|
'(?P<phid>[^/]+)/' => 'PhabricatorSubscriptionsEditController',
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|