Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonator committed Apr 8, 2014
2 parents c7d0491 + f49eeac commit 746808f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sinatra/jbuilder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
module Sinatra
module Templates
def jbuilder(template, options={}, locals={})
options[:default_content_type] = :json
render :jbuilder, template, options, locals
end

Expand Down

0 comments on commit 746808f

Please sign in to comment.