mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
9 lines
No EOL
155 B
Ruby
9 lines
No EOL
155 B
Ruby
class Middleman::Rack::Downstream
|
|
def initialize(app, options={})
|
|
@app = app
|
|
end
|
|
|
|
def call(env)
|
|
env["DOWNSTREAM"] || @app.call(env)
|
|
end
|
|
end |