Example #1
0
 /**
  * Displays details on a Focus.
  *
  * @param $objectId
  *
  * @return array|\Symfony\Component\HttpFoundation\JsonResponse|\Symfony\Component\HttpFoundation\RedirectResponse|Response
  */
 public function viewAction($objectId)
 {
     return parent::viewStandard($objectId, 'focus', 'plugin.focus');
 }
Example #2
0
 /**
  * Displays details on a Focus
  *
  * @param $objectId
  *
  * @return array|\Symfony\Component\HttpFoundation\JsonResponse|\Symfony\Component\HttpFoundation\RedirectResponse|Response
  */
 public function viewAction($objectId)
 {
     return parent::viewStandard($objectId, 'webhook', 'webhook');
 }