module ActionDispatch::Routing::Mapper::HttpHelpers

def put(*args, &block)

put 'bacon', to: 'food#bacon'

[match](rdoc-ref:Base#match)
Define a route that only recognizes HTTP PUT. For supported arguments, see
def put(*args, &block)
  map_method(:put, args, &block)
end