class Sinatra::Base
def dispatch!
def dispatch! static! if settings.static? && (request.get? || request.head?) filter! :before route! rescue ::Exception => boom handle_exception!(boom) ensure filter! :after unless env['sinatra.static_file'] end
def dispatch! static! if settings.static? && (request.get? || request.head?) filter! :before route! rescue ::Exception => boom handle_exception!(boom) ensure filter! :after unless env['sinatra.static_file'] end