method

post

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: HttpHelpers
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'
Show source
Register or log in to add new notes.