> Did a quick search couldn't find much info. Just wondering if want to
> create a controller for a resource that is going to be a singleton.
> Will there be any problems if it name it singular? Because I know the
> convention is to use plurals for controllers.

I'm not sure what the actual convention is here (or if there is one),
but assuming you've got a model that's named in the singular then
you'll get a clash if you make the controller class name the same.
I've personally made the controller plural in these cases.  It doesn't
feel too right but I prefer it to having Controller on the end of the
class names for just my singleton controllers.

Rupert

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to