I have a module called Imovel and a controller ImovelCOntroller
Page Not Found
Unable to resolve the request "imovel/imovel".
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Same difference. I don’t really see why this isn’t working. I believe you can just add any actionNEWACTION function to your controller and then reference it by controller/NEWACTION. You might also try creating the action outside the controller class by extending CAction like follows:
controllers/yourcontroller/NEWACTION.php
class NEWACTION extends CAction
{
public function run()
{
...
}
}
Yes Qiang, I had defined my module in modules property.
I was filling my form and submiting some data. When navegating I noticed I wasn`t able to access my imovel module "functions" anymore, it was just working fine before.