Routing error and wildcard character

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?

Thanks

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