Topic: Namespaces or prefixes for controllers
I have two Devise models (Doctor and Patient) in my app. And i have two different sets of controllers for each one. At the moment i just prefixing each controller like this: PatientRegistrationsController, DoctorRegistrationsController etc. But now i'm thinking about using namespaces for better app organization and structure.
Help me deciding which strategy i should use with my controllers - namespaces or prefixing names. Is where any gotchas with namespaces?
Last edited by tipugin (2012-01-02 15:06:05)