Updated README.rdoc to reflect added OPTIONS request type.

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
This commit is contained in:
jammur 2010-11-29 15:08:44 -05:00 committed by Konstantin Haase
parent 4d0b7403ac
commit ba1fd4c1d6
1 changed files with 5 additions and 1 deletions

View File

@ -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