Update routes.rb

Get/post Error Fix