lib/rack/less/base.rb in rack-less-1.1.1 vs lib/rack/less/base.rb in rack-less-1.2.0
- old
+ new
@@ -31,10 +31,9 @@
# => respond appropriately
# Otherwise, call on up to the app as normal
def call!(env)
@default_options.each { |k,v| env[k] ||= v }
@env = env
- # TODO: get this going
if (@request = Request.new(@env.dup.freeze)).for_less?
Response.new(@env.dup.freeze, @request.source.to_css).to_rack
else
@app.call(env)
\ No newline at end of file