lib/sinatra.rb in rtomayko-sinatra-0.8.9 vs lib/sinatra.rb in rtomayko-sinatra-0.8.10
- old
+ new
@@ -1,3 +1,8 @@
+libdir = File.dirname(__FILE__)
+$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
+
require 'sinatra/base'
require 'sinatra/main'
require 'sinatra/compat'
+
+use_in_file_templates!