Use consistent controller names

refs #8624
This commit is contained in:
Matthias Jentsch 2015-05-07 17:29:46 +02:00
parent 83efc3a4a3
commit fff2d5c816
4 changed files with 4 additions and 4 deletions

View File

@ -70,14 +70,14 @@ class Monitoring_CommentsController extends Controller
$this->view->comments = $this->comments;
$this->view->listAllLink = Url::fromPath('monitoring/list/comments')
->setQueryString($this->filter->toQueryString());
$this->view->removeAllLink = Url::fromPath('monitoring/comments/remove-all')
$this->view->removeAllLink = Url::fromPath('monitoring/comments/delete-all')
->setParams($this->params);
}
/**
* Display the form for removing a comment list
*/
public function removeAllAction()
public function deleteAllAction()
{
$this->assertPermission('monitoring/command/comment/delete');

View File

@ -104,14 +104,14 @@ class Monitoring_DowntimesController extends Controller
$this->view->downtimes = $this->downtimes;
$this->view->listAllLink = Url::fromPath('monitoring/list/downtimes')
->setQueryString($this->filter->toQueryString());
$this->view->removeAllLink = Url::fromPath('monitoring/downtimes/remove-all')
$this->view->removeAllLink = Url::fromPath('monitoring/downtimes/delete-all')
->setParams($this->params);
}
/**
* Display the form for removing a downtime list
*/
public function removeAllAction()
public function deleteAllAction()
{
$this->assertPermission('monitoring/command/downtime/delete');
$this->view->downtimes = $this->downtimes;