diff --git a/src/kemal/dsl.cr b/src/kemal/dsl.cr index b9673b2..c18dbeb 100644 --- a/src/kemal/dsl.cr +++ b/src/kemal/dsl.cr @@ -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 -> _)