I have a my admin controllers in a folder named admin in my controller folder. It looks something like this:

controllers/admin/authorize_controller.rb

What I want to do is to route the following request "http://www.mypage.com/admin" to that controller, but I don't really know how to do that.

Here is my attempt in the routes.rb file:
PHP Code:
  map.connect '/admin',
    :
controller => "authorize",
    :
action => "authenticate" 
I doesn't work and I'm not really sure on what I'm doing so if anyone knows I would really appreciate your help.