I am new to the routing scheme for RESTful actions on the edge. I am
trying to stray off of the CRUD path a little here and finding the
terrain a little bumpy.
I am trying to call the method TopicsController#toggle_lock. Topics
belong to Forums, so we have this structure in the routes.rb:
map.resources :forums do |forum|
forum.resources :topics do |topic|
topic.resources :posts
topic.resources :member => { :toggle_lock => :get }
end
end