gitignore, product photos fixture, copy/delete in base controller test setUp/tearDown
This commit is contained in:
@@ -101,10 +101,11 @@ class ProductPhotosController extends AppController
|
||||
$this->Flash->error(__('The product photo could not be saved. Please, try again.'));
|
||||
}
|
||||
$products = $productPhotosTable->Products->find('list', limit: 200)->all();
|
||||
|
||||
$this->set(compact('productPhoto', 'products'));
|
||||
}
|
||||
|
||||
d /**
|
||||
/**
|
||||
* Edit method
|
||||
*
|
||||
* @param string|null $id Product Photo id.
|
||||
|
||||
Reference in New Issue
Block a user