Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Merge b4bd951 into 0c5a68c
Browse files Browse the repository at this point in the history
  • Loading branch information
rifer committed Sep 15, 2015
2 parents 0c5a68c + b4bd951 commit 3d94053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Tutorials/Quick-Start.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class ProductsController extends AppController {
// Upload an image
public function upload($productId = null) {
$entity = $this->Products->ProductImages->newEntity();
if ($this->request->is(['post', 'put])) {
if ($this->request->is(['post', 'put'])) {
$entity = $this->Products->ProductImages->patchEntity(
$entity,
$this->request->data
Expand Down

0 comments on commit 3d94053

Please sign in to comment.