lib/sinatra.rb in rtomayko-sinatra-0.9.0 vs lib/sinatra.rb in rtomayko-sinatra-0.9.0.2
- 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!