I have a little bit of a plurals problem.

The setup I am trying to implement here is the following:

  • Model: filter_criterion.php
  • Table: filter_criteria
  • Controller: filter_criteria_controller.php
What happens when accessing the hostname/filter_criteria url is that it says I need a model named 'FilterCriterium' but that is the wrong singular form because it should be 'FilterCriterion'.

So I have edited app/config/inflections.php and added an entry to irregular plurals 'criterion' => 'criteria'.  I have also tried various forms here with a filter prefix.

But basically it is not picking it up.  I am assuming that it has something to do with my using 'filter_' in front of the controller/table/model.

Every time it asks for a model named 'FilterCriterium'.

Any suggestions?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to