summaryrefslogtreecommitdiff
path: root/app/Controller/Currency.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-24 16:02:25 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-24 16:02:25 -0400
commiteeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b (patch)
tree511c2fe47f8fbb1ea90e59e7a7a7f5e3530aa9ed /app/Controller/Currency.php
parent65e9e5d1bed9f88ecfd43eb2c1e780a7c22c151f (diff)
Helpers refactoring
Diffstat (limited to 'app/Controller/Currency.php')
-rw-r--r--app/Controller/Currency.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Currency.php b/app/Controller/Currency.php
index fac34a30..10fb90da 100644
--- a/app/Controller/Currency.php
+++ b/app/Controller/Currency.php
@@ -57,7 +57,7 @@ class Currency extends Base
if ($this->currency->create($values['currency'], $values['rate'])) {
$this->session->flash(t('The currency rate have been added successfully.'));
- $this->response->redirect($this->helper->url('currency', 'index'));
+ $this->response->redirect($this->helper->url->to('currency', 'index'));
}
else {
$this->session->flashError(t('Unable to add this currency rate.'));
@@ -84,6 +84,6 @@ class Currency extends Base
$this->session->flashError(t('Unable to save your settings.'));
}
- $this->response->redirect($this->helper->url('currency', 'index'));
+ $this->response->redirect($this->helper->url->to('currency', 'index'));
}
}