Using '?' in routes

Hello,

I am trying to get routes to work with the following:

map.connect ‘:controller/:action?:x,:y’

The above route does not work as it seems to get caught up on the ‘?’.
If I change the ‘?’ to any other separator character it works perfectly.

I am trying to get an image map to work
<%= link_to(image_tag(’/cage_layout.png’, :ismap => ‘true’), :action =>
‘show’) %>

Is there a way I can change how :ismap passes the variables (instead of
?:x,:y).

I am using rails 1.2.3 with ruby 1.8.5

Regards

Glenn

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs