Hi all- I am adding an admin console to my application and I would like to have URLs such as /admin/customer to access the CustomerController. Per this article (http://glu.ttono.us/articles/2006/08/30/guide-things-you-shouldnt-be-doing-in-rails), it is not a best practice to put a contoller in a namespace (e.g. Admin::CustomerController). I understand how to route requests such as /admin/customer to the CustomerController, but how do I stop user from accessing the CustomerController directly (e.g. via /customer)? It seems that I might be able to do this via routes, but I have not been able to find it. Thanks, Josh --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---