1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Add yajl json support

This commit is contained in:
Jamie Hodge 2013-01-14 22:24:40 +01:00
parent 2fb4e5029b
commit f15869492f

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] -