Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ignore parameter outvar by sinatra

  • Loading branch information...
commit d0c21a0f8b2cc47df8e8d3002de67ea62cf5cf57 1 parent c4f9e72
@minad minad authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/temple/templates/tilt.rb
View
5 lib/temple/templates/tilt.rb
@@ -24,10 +24,7 @@ def prepare
# Overwrite option: No streaming support in Tilt
opts = {}.update(self.class.default_options).update(options).update(:file => eval_file, :streaming => false)
opts.delete(:mime_type)
- outvar = opts.delete(:outvar)
- if outvar
- opts[:buffer] ||= outvar # Sinatra sets the :outvar option
- end
+ opts.delete(:outvar) # Sinatra gives us this invalid variable
@src = self.class.compile(data, opts)
end
Please sign in to comment.
Something went wrong with that request. Please try again.