From ba1fd4c1d68c217bd2c25dccbe0cd0045b151957 Mon Sep 17 00:00:00 2001 From: jammur Date: Mon, 29 Nov 2010 15:08:44 -0500 Subject: [PATCH] Updated README.rdoc to reflect added OPTIONS request type. Signed-off-by: Konstantin Haase --- README.rdoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index a23a3f17..02382e24 100644 --- a/README.rdoc +++ b/README.rdoc @@ -37,6 +37,10 @@ Each route is associated with a block: delete '/' do .. annihilate something .. end + + options '/' do + .. appease something .. + end Routes are matched in the order they are defined. The first route that matches the request is invoked. @@ -977,7 +981,7 @@ scope via the `settings` helper: You have the request scope binding inside: -* get/head/post/put/delete blocks +* get/head/post/put/delete/options blocks * before/after filters * helper methods * templates/views