Explicitly match get/post in routes.rb for Rails 4 compatibility