Forum: Ruby on Rails Using '?' in routes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Fa6c53f81ffa93354e4c4a2ad323deb4?d=identicon&s=25 Glenn Gore (Guest)
on 2007-06-11 13:32

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

I am using rails 1.2.3 with ruby 1.8.5


This topic is locked and can not be replied to.