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:
parent
78bb1d9c6a
commit
753d4b31c8
|
@ -376,8 +376,6 @@ module Sinatra
|
||||||
attr_accessor :content_type
|
attr_accessor :content_type
|
||||||
end
|
end
|
||||||
|
|
||||||
include Tilt::CompileSite
|
|
||||||
|
|
||||||
def erb(template, options={}, locals={})
|
def erb(template, options={}, locals={})
|
||||||
render :erb, template, options, locals
|
render :erb, template, options, locals
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue