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

@ -38,6 +38,10 @@ Each route is associated with a block:
.. annihilate something .. .. annihilate something ..
end end
options '/' do
.. appease something ..
end
Routes are matched in the order they are defined. The first route that Routes are matched in the order they are defined. The first route that
matches the request is invoked. matches the request is invoked.
@ -977,7 +981,7 @@ scope via the `settings` helper:
You have the request scope binding inside: You have the request scope binding inside:
* get/head/post/put/delete blocks * get/head/post/put/delete/options blocks
* before/after filters * before/after filters
* helper methods * helper methods
* templates/views * templates/views