Commit d41ac1d177bc4ac8c070064432b388ce0c19aee8
1 parent
be52da4b
test
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/ProjectController.php
| ... | ... | @@ -27,7 +27,7 @@ class ProjectController extends CrudResourceController { |
| 27 | 27 | { |
| 28 | 28 | |
| 29 | 29 | $item = $this->getFindData($id); |
| 30 | - | |
| 30 | + return '123'; | |
| 31 | 31 | if (!$item) { |
| 32 | 32 | return $this->onItemNotFound($id); |
| 33 | 33 | } |
| ... | ... | @@ -35,7 +35,7 @@ class ProjectController extends CrudResourceController { |
| 35 | 35 | if (!$this->findAllowed($id, $item)) { |
| 36 | 36 | return $this->onNotAllowed(); |
| 37 | 37 | } |
| 38 | - return '123'; | |
| 38 | + | |
| 39 | 39 | $response = $this->getFindResponse($item); |
| 40 | 40 | |
| 41 | 41 | return '123'; | ... | ... |