routes.rb problem

Salil Gaikwad wrote:

i try something like this in routes.rb

map.connect 'issues/:action', :controller => 'issues', :action=>'new'

and then restart the server but it doesn't works....

Try this in irb

rts = ActionController::Routing::Routes rts.recognize_path("issues/new")

and it'll return the route that maps to it

This and other cool tips in a nice tutorial by Daryn Holmes: