post(*args, &block)
public
Define a route that only recognizes HTTP POST. For supported
arguments, see match[rdoc-ref:Base#match]
post 'bacon', to: 'food#bacon'
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 706
def post(*args, &block)
map_method(:post, args, &block)
end