Skip to content

Commit 5236220

Browse files
authored
correcting content_type
:js to :json
1 parent 3e6274f commit 5236220

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)