custom REST routes

Hi, I want to make a custom route : /games/1/join which will make the curernt user join game with id 1.

i have the route: map.resources :games, :member => {:join => :post}

But the logs show: "_method"=>"put", "action"=>"1", "id"=>"join", "controller"=>"games"}

Why isn't it directing it to the join action with id as 1?

thanks

'cause you used :join => :post. You need :join => :put if you want to use put