I have an intranet application with several modules, I want them to separate when routing. For example:
http://intranet/calendar/... http://intranet/site_admin/... http://intranet/tasks/...
Each of module can have many or single controller. How to write such routes?
You can try using namespaces:
And so on. Very often people put admin part of application in admin namespace (look here). Try google ‘rails namespace’.