Displaying 1 result from an estimated 1 matches for "faicilites".
Did you mean:
facilites
2010 Nov 10
1
rails "path_prefix" produces no correct verb route evaluation
...and "index" action.
"http://domain.com/pocoyo" [POST] is mapped to "pocoyo" controller
and "create" action.
if you adds ":path_prefix" as:
map.resources :pocoyo, :path_prefix='':country''
You have the same RESTful rails routes faicilites, but with non
correct behavior on POST calls:
"http://domain.com/pocoyo" [GET] is mapped to "pocoyo" controller
and "index" action.
"http://domain.com/pocoyo" [POST] is mapped to "pocoyo" controller
and "INDEX" action. (incorrectly...