mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 19:02:41 +01:00
6d59f3d1f2
Summary: Update Herald for handleRequest Test Plan: New rule, test console, logs, lists. Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8628 Differential Revision: https://secure.phabricator.com/D13765
21 lines
508 B
PHP
21 lines
508 B
PHP
<?php
|
|
|
|
final class HeraldRuleListController extends HeraldController {
|
|
|
|
public function shouldAllowPublic() {
|
|
return true;
|
|
}
|
|
|
|
public function handleRequest(AphrontRequest $request) {
|
|
$querykey = $request->getURIData('queryKey');
|
|
|
|
$controller = id(new PhabricatorApplicationSearchController())
|
|
->setQueryKey($querykey)
|
|
->setSearchEngine(new HeraldRuleSearchEngine())
|
|
->setNavigation($this->buildSideNavView());
|
|
|
|
return $this->delegateToController($controller);
|
|
}
|
|
|
|
|
|
}
|