Commit 5a57cafe7c0dcfd4fb37a7f38507bea077f55c52

Authored by Alex Savenko
1 parent c23be67b

registration

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
app/library/App/Controllers/UserController.php
@@ -87,4 +87,9 @@ class UserController extends CrudResourceController @@ -87,4 +87,9 @@ class UserController extends CrudResourceController
87 'email' 87 'email'
88 ]; 88 ];
89 } 89 }
  90 +
  91 + protected function getModelPrimaryKey()
  92 + {
  93 + return 'id';
  94 + }
90 } 95 }