I want to access same page using two different url’s for that i had done
following in routes.rb
1] map.connect ‘projects/:project_id/issues/:action’, :controller =>
‘issues’
so when my url is
http://localhost:3000/projects/xyz/issues/new
i access the new.rhtml page of a issue controller
what i want that when i write simply
http://localhost:3000/issues/new it should render me to the action new
of a issues controller.
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…