Displaying 1 result from an estimated 1 matches for "aegorov".
Did you mean:
yegorov
2011 Feb 23
5
Routing problem
In my app i have word model, words_controller and want create new
action for word model.
I create new method ''test'' in words_controller, and adds:
resources :words do
member do
put ''test''
end
end
in routes.rb
my rake routes output:
test_word PUT /words/:id/test(.:format) {:action=>"test",
:controller=>"words"}