Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #57 from benilovj/patch-1

Fixed typo + error in sinatra-respond-with.html
  • Loading branch information...
commit 349ca7252d6e237e831c1f436d39e20d6aeeb6ab 2 parents c9bb5fa + 614ad0e
@cypher cypher authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 _includes/sinatra-respond-with.html
View
4 _includes/sinatra-respond-with.html
@@ -14,7 +14,7 @@
case type
when 'text/html'
halt haml(:index, :locals => data)
- when 'text/json'
+ when 'application/json'
halt data.to_json
when 'application/atom+xml'
halt nokogiri(:'index.atom', :locals => data)
@@ -63,7 +63,7 @@
<h2>Security</h2>
<p>
Since methods are triggered based on client input, this can lead to
-security issues (but not as seviere as those might apear in the first
+security issues (but not as severe as those might appear in the first
place: keep in mind that only known file extensions are used). You
therefore should limit the possible formats you serve.
</p>
Please sign in to comment.
Something went wrong with that request. Please try again.