class Sinatra::Base

def after(path = nil, options = {}, &block)

response.
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 = nil, options = {}, &block)
  add_filter(:after, path, options, &block)
end