Module: Sinatra::AdditionalRoutes

Defined in:
lib/sinatra/additional_routes.rb

Instance Method Summary collapse

Instance Method Details

#options(path, opts = {}, &bk) ⇒ Object



4
# File 'lib/sinatra/additional_routes.rb', line 4

def options(path, opts={}, &bk);   route 'OPTIONS',   path, opts, &bk end