examples/barley.rb in ruote-2.1.9 vs examples/barley.rb in ruote-2.1.10
- old
+ new
@@ -89,10 +89,11 @@
require 'cgi'
require 'sinatra'
require 'haml'
-use_in_file_templates!
+#use_in_file_templates! # sinatra 0.9.x
+enable :inline_templates # sinatra 1.0
def h (s)
Rack::Utils.escape_html(s)
end