diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index afd78bdb..c63c4e44 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -53,16 +53,6 @@ class ServiceController extends Controller $this->setTitleTab($this->getRequest()->getActionName()); } - public function getCommandTargetsUrl() - { - return Links::service($this->service, $this->service->host); - } - - public function fetchCommandTargets() - { - return [$this->service]; - } - public function indexAction() { if ($this->service->state->is_overdue) { @@ -218,4 +208,14 @@ class ServiceController extends Controller $this->view->title = $tab->getLabel(); } } + + public function fetchCommandTargets() + { + return [$this->service]; + } + + public function getCommandTargetsUrl() + { + return Links::service($this->service, $this->service->host); + } }