Define a route that only recognizes HTTP PUT. For supported arguments, see match
put 'bacon', to: 'food#bacon'
711 712 713
# File 'actionpack/lib/action_dispatch/routing/mapper.rb', line 711 def put(*args, &block) map_method(:put, args, &block) end