Updated README.rdoc to reflect added OPTIONS request type.
Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
This commit is contained in:
parent
4d0b7403ac
commit
ba1fd4c1d6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue