class Sinatra::Base
def get(path, opts={}, &block)
Defining a `GET` handler also automatically defines
def get(path, opts={}, &block) conditions = @conditions.dup route('GET', path, opts, &block) @conditions = conditions route('HEAD', path, opts, &block) end