Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #87 from jamiehodge/yajl

Add yajl json support
  • Loading branch information...
commit edfd8107e602d1bdb3617a90ea520f278f89341c 2 parents e9f7e7a + ae47542
Zachary Scott zzak authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/sinatra/respond_with.rb
1  lib/sinatra/respond_with.rb
View
@@ -227,6 +227,7 @@ def compile!(verb, path, block, options = {})
: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] -
Please sign in to comment.
Something went wrong with that request. Please try again.