diff options
Diffstat (limited to 'lib/overwrite.rb')
-rw-r--r-- | lib/overwrite.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/overwrite.rb b/lib/overwrite.rb index 4fa0829..e52618c 100644 --- a/lib/overwrite.rb +++ b/lib/overwrite.rb @@ -27,7 +27,7 @@ error Exception do case request.env['HTTP_ACCEPT'] when /rdf/ content_type 'application/rdf+xml' - halt error.http_code,rep.to_xml + halt error.http_code,rep.to_rdfxml when /html/ content_type 'text/html' halt error.http_code,(OpenTox.text_to_html rep.to_yaml) |