module Roda::RodaPlugins::Middleware
def self.configure(app, opts={})
You should only need to override this if you are using multiple
application that the current request is a middleware request.
:env_var :: Set the environment variable to use to indicate to the roda
Configure the middleware plugin. Options:
def self.configure(app, opts={}) app.opts[:middleware_env_var] = opts[:env_var] if opts.has_key?(:env_var) app.opts[:middleware_env_var] ||= 'roda.forward_next' end