lib/sinatra/respond_with.rb in sinatra-contrib-2.0.4 vs lib/sinatra/respond_with.rb in sinatra-contrib-2.0.5
- old
+ new
@@ -243,10 +243,10 @@
def self.engines
engines = {
:css => [:less, :sass, :scss],
:xml => [:builder, :nokogiri],
:js => [:coffee],
- :html => [:erb, :erubis, :haml, :slim, :liquid, :radius, :mab,
+ :html => [:erb, :erubi, :erubis, :haml, :slim, :liquid, :radius, :mab,
:markdown, :textile, :rdoc],
:all => (Sinatra::Templates.instance_methods.map(&:to_sym) +
[:mab] - [:find_template, :markaby]),
:json => [:yajl],
}