summaryrefslogtreecommitdiff
path: root/app/Controller/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/User.php')
-rw-r--r--app/Controller/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/User.php b/app/Controller/User.php
index c8496418..b049c926 100644
--- a/app/Controller/User.php
+++ b/app/Controller/User.php
@@ -268,7 +268,7 @@ class User extends Base
$this->session->flashError(t('Unable to update this user.'));
}
- $this->response->redirect($this->helper->url('user', 'share', array('user_id' => $user['id'])));
+ $this->response->redirect($this->helper->url->to('user', 'share', array('user_id' => $user['id'])));
}
$this->response->html($this->layout('user/share', array(