Add yajl json support

This commit is contained in:
Jamie Hodge 2013-01-14 22:24:40 +01:00
parent 2fb4e5029b
commit f15869492f
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ module Sinatra
:css => [:less, :sass, :scss],
:xml => [:builder, :nokogiri],
:js => [:coffee],
:json => [:yajl],
:html => [:erb, :erubis, :haml, :slim, :liquid, :radius, :mab, :markdown,
:textile, :rdoc],
:all => Sinatra::Templates.instance_methods.map(&:to_sym) + [:mab] -