module ActionDispatch::Routing::Mapper::HttpHelpers

def patch(*args, &block)

patch 'bacon', to: 'food#bacon'

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