Commit 67c810607e2c3fbab23bafad9392faa45e1148f8

Authored by Alex Savenko
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 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 69 \ No newline at end of file
... ...