Commit 67c810607e2c3fbab23bafad9392faa45e1148f8
1 parent
4a613a0d
test
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
app/library/App/Controllers/ProjectController.php
@@ -60,4 +60,9 @@ class ProjectController extends CrudResourceController { | @@ -60,4 +60,9 @@ class ProjectController extends CrudResourceController { | ||
60 | return count($results) >= 1 ? $results->getFirst() : null; | 60 | return count($results) >= 1 ? $results->getFirst() : null; |
61 | } | 61 | } |
62 | 62 | ||
63 | + protected function getModelPrimaryKey() | ||
64 | + { | ||
65 | + return 'id'; | ||
66 | + } | ||
67 | + | ||
63 | } | 68 | } |
64 | \ No newline at end of file | 69 | \ No newline at end of file |