Module: Sinatra::OptionsRoute
- Defined in:
- lib/sinatra/options-route.rb
Instance Method Summary collapse
-
#options_route(path, opts = {}, &bk) ⇒ Object
we call the method options_route so as not to confuse with Sinatra::Base.options.
Instance Method Details
#options_route(path, opts = {}, &bk) ⇒ Object
we call the method options_route so as not to confuse with Sinatra::Base.options
6 |
# File 'lib/sinatra/options-route.rb', line 6 def (path, opts={}, &bk); route 'OPTIONS', path, opts, &bk end |