3 final class NuanceSourceActionController
extends NuanceController
{
5 public function handleRequest(AphrontRequest
$request) {
6 $viewer = $this->getViewer();
8 $source = id(new NuanceSourceQuery())
10 ->withIDs(array($request->getURIData('id')))
13 return new Aphront404Response();
16 $def = $source->getDefinition();
22 $response = $def->handleActionRequest($request);
23 if ($response instanceof AphrontResponse
) {
27 $title = $source->getName();
28 $crumbs = $this->buildApplicationCrumbs();
29 $crumbs->addTextCrumb($title);
31 return $this->newPage()
34 ->appendChild($response);