summaryrefslogtreecommitdiff
path: root/app/Controller/Budget.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Budget.php')
-rw-r--r--app/Controller/Budget.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Budget.php b/app/Controller/Budget.php
index 2c56c79d..45dad7fb 100644
--- a/app/Controller/Budget.php
+++ b/app/Controller/Budget.php
@@ -88,7 +88,7 @@ class Budget extends Base
if ($this->budget->create($values['project_id'], $values['amount'], $values['comment'], $values['date'])) {
$this->session->flash(t('The budget line have been created successfully.'));
- $this->response->redirect($this->helper->url('budget', 'create', array('project_id' => $project['id'])));
+ $this->response->redirect($this->helper->url->to('budget', 'create', array('project_id' => $project['id'])));
}
else {
$this->session->flashError(t('Unable to create the budget line.'));
@@ -130,6 +130,6 @@ class Budget extends Base
$this->session->flashError(t('Unable to remove this budget line.'));
}
- $this->response->redirect($this->helper->url('budget', 'create', array('project_id' => $project['id'])));
+ $this->response->redirect($this->helper->url->to('budget', 'create', array('project_id' => $project['id'])));
}
}