summaryrefslogtreecommitdiff
path: root/app/Controller/UserCreationController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/UserCreationController.php')
-rw-r--r--app/Controller/UserCreationController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/UserCreationController.php b/app/Controller/UserCreationController.php
index d1c554ae..49f9db54 100644
--- a/app/Controller/UserCreationController.php
+++ b/app/Controller/UserCreationController.php
@@ -74,10 +74,10 @@ class UserCreationController extends BaseController
}
$this->flash->success(t('User created successfully.'));
- $this->response->redirect($this->helper->url->to('user', 'show', array('user_id' => $user_id)));
+ $this->response->redirect($this->helper->url->to('UserViewController', 'show', array('user_id' => $user_id)));
} else {
$this->flash->failure(t('Unable to create your user.'));
- $this->response->redirect($this->helper->url->to('user', 'index'));
+ $this->response->redirect($this->helper->url->to('UserListController', 'show'));
}
}
}