1
2
3
4
5
<?php
//Adicione as linhas abaixo no app/config/bootstrap.php
Inflector::rules('singular', array('rules' => array('/^([a-zA-Z_-]*)oes$/i' => '\1ao')));
Inflector::rules('plural', array('rules' => array('/^([a-zA-Z_-]*)ao$/i' => '\1oes')));
?>