Tilt::CompileSite is deprecated, no longer use it.

Warning: This means current master will render slower with Tilt 1.1. Please use Tilt master or wait for the next Tilt release.
We will not release Sinatra 1.2.0 before Tilt 1.2 is released and this patch will not be part of Sinatra 1.1.1.

This patch does not change Sinatra's behavior in any way.
This commit is contained in:
Konstantin Haase 2010-12-23 12:05:20 +01:00
parent 78bb1d9c6a
commit 753d4b31c8
1 changed files with 0 additions and 2 deletions

View File

@ -376,8 +376,6 @@ module Sinatra
attr_accessor :content_type
end
include Tilt::CompileSite
def erb(template, options={}, locals={})
render :erb, template, options, locals
end