diff options
author | Camil Staps | 2015-06-28 00:22:19 +0200 |
---|---|---|
committer | Camil Staps | 2015-06-28 00:22:19 +0200 |
commit | 935fd06e34f3e60a02f935456ba01f0f3047bbc9 (patch) | |
tree | ef55f62dfc2db945c85eff043cf53e38a77eb257 /src/controllers/UserController.php | |
parent | Lumen (diff) |
Rolling back tryoutslumen
Diffstat (limited to 'src/controllers/UserController.php')
-rw-r--r-- | src/controllers/UserController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controllers/UserController.php b/src/controllers/UserController.php index 2daadb8..ee6b899 100644 --- a/src/controllers/UserController.php +++ b/src/controllers/UserController.php @@ -62,7 +62,7 @@ class UserController extends BaseController { $this->user->password = Input::get('password'); if ($this->user->save()) { - return $this->response->created(route('user/show', $this->user->email)); + return $this->response->created(route('user.show', $this->user->email)); } else { throw new \Dingo\Api\Exception\StoreResourceFailedException; } |