dont need to set the config key or the default table anymore - will default to plugin name + table name

This commit is contained in:
2025-03-29 01:11:09 -07:00
parent 8229722779
commit 1477b4b96d
7 changed files with 30 additions and 15 deletions

View File

@@ -25,8 +25,8 @@ class ProductsController extends AppController
public function initialize(): void
{
parent::initialize(); // TODO: Change the autogenerated stub
$this->_defaultTable = 'CakeProducts.Products';
$this->_tableConfigKey = 'CakeProducts.Products.table';
// $this->_defaultTable = 'CakeProducts.Products';
// $this->_tableConfigKey = 'CakeProducts.Products.table';
}
/**