mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-11 17:32:41 +01:00
24 lines
419 B
PHP
24 lines
419 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorApplicationPolicy extends PhabricatorApplication {
|
||
|
|
||
|
public function shouldAppearInLaunchView() {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public function canUninstall() {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public function getRoutes() {
|
||
|
return array(
|
||
|
'/policy/' => array(
|
||
|
'explain/(?P<phid>[^/]+)/(?P<capability>[^/]+)/'
|
||
|
=> 'PhabricatorPolicyExplainController',
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|