method

post

Importance_1
v6.1.3.1 - 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.