From 753d4b31c899d9114c0510e0a7f9fe0c73c66888 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Thu, 23 Dec 2010 12:05:20 +0100 Subject: [PATCH] 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. --- lib/sinatra/base.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb index 945b6a5f..363230a6 100644 --- a/lib/sinatra/base.rb +++ b/lib/sinatra/base.rb @@ -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