Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed typo + error in sinatra-respond-with.html

  • Loading branch information...
commit 954a3a078c4776a4198d5942344857844843bc49 1 parent c9bb5fa
@benilovj benilovj 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 apear 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.