commit
0a55b2d28a
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
HTTP_METHODS = %w(get post put patch delete)
|
||||
HTTP_METHODS = %w(get post put patch delete options)
|
||||
|
||||
{% for method in HTTP_METHODS %}
|
||||
def {{method.id}}(path, &block : HTTP::Server::Context -> _)
|
||||
|
|
Loading…
Reference in a new issue