Re: Phrase inflections

2010-07-21 Thread Jeremy Burns | Class Outfit
http://book.cakephp.org/view/953/Inflections Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 20 Jul 2010, at 18:36, desheffer wrote: I have a model called LeaveOfAbsence. The proper English name for the pluralized controller would be LeavesOfAbsence rather

Phrase inflections

2010-07-20 Thread desheffer
I have a model called LeaveOfAbsence. The proper English name for the pluralized controller would be LeavesOfAbsence rather than LeaveOfAbsences (similar to the plural mothers-in-law). Does anyone know to set up inflections for this specific case? It seems that CakePHP only looks at the last word

Re: Phrase inflections

2010-07-20 Thread MattyHead
I know you can fake it with Routes, but I fear you'd end up tweaking URLs in your views like crazy. http://book.cakephp.org/view/46/Routes-Configuration Sorry, I have nothing better. Matt On Tue, Jul 20, 2010 at 1:36 PM, desheffer deshef...@gmail.com wrote: I have a model called