In rails I could create a namespace in order to encapsulate views inside a given name ( or URL prefix)
What I want to do is create a namespace (or Area I believe? ) that shall encapsulate all the administrator controllers inside a given name.
For example, I want to create an Admin namespace, where whenever I go to www.myapp.com/admin/ it would get the me the controller admin with the index method, and that whenever I go to www.myapp.com/admin/products it shall call the product controller with the index method and so on because i also want to limit these controllers to a person that must be logged in as in.
URL and routing wise, how can I accomplish the mentioned before?