Model: CategoriaBanner
Controller: CategoriasBannersController
One thing is making me sleepy:
When trying to use create();
it gives an object error when trying to use what would be the corresponding Model:
$this->CategoriaBanner->create();
Error: Call to a member function create () on a non-object File: /meu/path/to/project/app/Controller/CategoriesBannersController.php Line: 8
I've tried adding public $uses = 'CategoriaBanner';
but I was not successful. What could it be?
Note: I am using CakePtbr to solve the inflections , and I do not want to solve with loadModel , as I want to use it by convention.