The url that is generated for an additional controller method is causing some confusion. I have a site where people can enter their email to get access for a beta account. This allows me to later grant each person access manually. To do this I have one additional controller method, activate, to which is given a method by the following:
map.namespace :site do |site| site.resources :beta_signups, :member => {:activate => :put} end
This provides me with a method: activate_site_beta_signup_url(1)
that generates urls like the following: http://localhost:3000/site/beta_signups/1/activate
But when I click on the following link I get an error saying that: Unknown action No action responded to 1
What am I missing?
Thanks for the help.