Forum: Ruby on Rails routing error and wildcard character

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.
Feb07800df6c28161148d0aef48b5fca?d=identicon&s=25 Tom Bell (tombell)
on 2007-01-25 18:42
I am having trouble understanding a routing error I get.  The client
returns the request '/map_page/add_hole/x=123/y=345'.  My route in
routes.rb is

map.connect   /map_page/add_hole/x=*/y=*
              :controller => 'map_page',
              :action => 'add_hole'

yet I keep getting the message that the route is not recogized.  I
thought I could use '*' as a wildcard.  Is that the problem?  If so, how
do I structure the route?

This topic is locked and can not be replied to.