diff options
Diffstat (limited to 'app/Controller/Currency.php')
-rw-r--r-- | app/Controller/Currency.php | 4 |
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')); } } |