Skip to content

Commit 41cfba3

Browse files
authored
Merge pull request #281 from ewmanthei/patch-1
correcting content_type
2 parents 3e6274f + 5236220 commit 41cfba3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_includes/sinatra-json.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h3 id="label-Content-Type">Content-Type</h3>
7878
usual, you can easily change that, with the <code>:json_content_type</code>
7979
setting:</p>
8080

81-
<pre>set :json_content_type, :js</pre>
81+
<pre>set :json_content_type, :json</pre>
8282

8383
<h3 id="label-Overriding+the+Encoder+and+the+Content-Type">Overriding the Encoder and the Content-Type</h3>
8484

0 commit comments

Comments
 (0)