class Sinatra::Base
def after(path = /.*/, **options, &block)
context as route handlers and may access/modify the request and
Define an after filter; runs after all requests within the same
def after(path = /.*/, **options, &block) add_filter(:after, path, options, &block) end