Displaying 1 result from an estimated 1 matches for "somecountry".
2010 Nov 10
1
rails "path_prefix" produces no correct verb route evaluation
...ot;GET" verb.
If you debug the http call, you can see that a correct POST is
processing.
I came to conclusion that, using "path_prefix" on you routes rules,
produces no corrects maps for verb evaluation.
Only if provides url with ":country", like "http://domain.com/
somecountry/pocoyo" [POST] can be correctly mapped to "create" action.
If rails route can map "http://domain.com/pocoyo" [GET]" with a
"path_prefix" to correct action, should be able to map correctly
"http://domain.com/pocoyo" [POST]" to their appropriate...