Permalink
Browse files

Request and response content types were mixed up in the html example

  • Loading branch information...
oestrich committed Jul 3, 2012
1 parent 38d67bc commit 425f939a151d2b6b38b890d1240263a124fb842c
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/rspec_api_documentation/html_example.mustache
@@ -108,7 +108,7 @@
{{# request_body }}
<h4>Body</h4>
- <div class="request body" data-content-type="{{ response_content_type }}"><textarea>{{{ request_body }}}</textarea></div>
+ <div class="request body" data-content-type="{{ request_content_type }}"><textarea>{{{ request_body }}}</textarea></div>
{{/ request_body }}
{{# curl }}
@@ -124,7 +124,7 @@
<pre class="response status">{{ response_status }} {{ response_status_text}}</pre>
{{# response_body }}
<h4>Body</h4>
- <div class="response body" data-content-type="{{ request_content_type }}"><textarea>{{{ response_body }}}</textarea></div>
+ <div class="response body" data-content-type="{{ response_content_type }}"><textarea>{{{ response_body }}}</textarea></div>
{{/ response_body }}
{{/ response_status }}
{{/ requests }}

0 comments on commit 425f939

Please sign in to comment.