Skip to content

Commit

Permalink
Fixed parameter ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhenry committed Aug 20, 2015
1 parent dcaba04 commit 7ccc2d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/app/Http/Controllers/UserController.php
Expand Up @@ -88,7 +88,7 @@ public function permissions(Request $request)
* @param Request $request
* @return Response
*/
public function putOne($id, Request $request)
public function putOne(Request $request, $id)
{
// Extract the credentials
$credential = $request->get('_user_credential', []);
Expand Down Expand Up @@ -133,7 +133,7 @@ public function putOne($id, Request $request)
* @param Request $request
* @return Response
*/
public function patchOne($id, Request $request)
public function patchOne(Request $request, $id)
{
/** @var User $model */
$model = $this->findOrFailEntity($id);
Expand Down

0 comments on commit 7ccc2d2

Please sign in to comment.