Wes Gamble
2008-Aug-22 22:59 UTC
Does map.root need to be the last named route in routes.rb?
If I put map.root :controller => ''blah'' before any of my other named routes, I get the error: ActionController::MethodNotAllowed Only get, head, post, put, and delete requests are allowed. but if I put it after all of my other named routes, it works fine. Is this normal behavior and why? Thanks, Wes -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---