mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-02 01:48:23 +01:00
0470125d9e
Summary: Ref T11330. Adds general support for webhooks. This is still rough and missing a lot of pieces -- and not yet useful for anything -- but can make HTTP requests. Test Plan: Used `bin/webhook call ...` to complete requests to a test endpoint. Maniphest Tasks: T11330 Differential Revision: https://secure.phabricator.com/D19045
15 lines
294 B
PHP
15 lines
294 B
PHP
<?php
|
|
|
|
abstract class HeraldWebhookController extends HeraldController {
|
|
|
|
protected function buildApplicationCrumbs() {
|
|
$crumbs = parent::buildApplicationCrumbs();
|
|
|
|
$crumbs->addTextCrumb(
|
|
pht('Webhooks'),
|
|
$this->getApplicationURI('webhook/'));
|
|
|
|
return $crumbs;
|
|
}
|
|
|
|
}
|