sinatra-additional-routes
Adds some of the missing HTTP methods to the Sinatra router. Currently, adds only the OPTIONS method.
Usage
require 'sinatra/additional_routes'
class MyAPP < Sinatra::Base
register Sinatra::AdditionalRoutes
'/path' do
"response for: OPTIONS /path"
end
end
Copyright
Copyright © 2009 Cyril Rohr. See LICENSE for details.