method
post
v3.2.13 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::HttpHelpers
post(*args, &block)public
Define a route that only recognizes HTTP POST. For supported arguments, see Base#match.
Example:
post ‘bacon’, :to => ‘food#bacon’