On Jan 12, 2008, at 3:08 PM, Tim wrote:
> > Hi all, > > I'm a newbie to CakePHP, and a relative newbie to php. CakePHP looks > like just what I was looking for :) > > The issue is with business objects that end with the character 's'. I > have a model that i'd like to call "lens". That would make the > controller called "lenss_controller", which is only a problem because > it appears in the URL. It would also mean a database table called > "lenss". Is there a way to give everything sensible names? You can configure most anything, so yes. > Right now my solution is to call the model "len", the controller > "lens_controller", and the database table "lens". Wont 'lenses' work? -- John --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
