diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-04-12 09:47:34 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-04-12 09:47:34 +0200 |
commit | bdb2d8412568fe7ddc8fbad5b8344f9e05dcae12 (patch) | |
tree | 0f45cbfeac83c5f389571748ac59aaaf31091901 | |
parent | 3d7161ef60518125bedcba1643301ee168bcf809 (diff) |
Relaxed YAML check
-rw-r--r-- | fs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ get "/fs/rfe/?" do when /text\/html/ content_type "text/html" OpenTox.text_to_html algorithm.to_yaml - when /application\/x-yaml/ + when /yaml/ content_type "application/x-yaml" algorithm.to_yaml else |