Commit 4a613a0dd87b6cfaff8abb23010c592acda1f38b
1 parent
78b0b2b8
test
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/library/App/Controllers/ProjectController.php
@@ -29,6 +29,8 @@ class ProjectController extends CrudResourceController { | @@ -29,6 +29,8 @@ class ProjectController extends CrudResourceController { | ||
29 | 29 | ||
30 | 30 | ||
31 | $item = $this->getFindData($id); | 31 | $item = $this->getFindData($id); |
32 | + return $this->getModelPrimaryKey(); | ||
33 | + | ||
32 | return 'breakpoint'; | 34 | return 'breakpoint'; |
33 | if (!$item) { | 35 | if (!$item) { |
34 | return $this->onItemNotFound($id); | 36 | return $this->onItemNotFound($id); |