summaryrefslogtreecommitdiff
path: root/lib/overwrite.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-01-24 19:35:36 +0100
committermguetlein <martin.guetlein@gmail.com>2011-01-24 19:35:36 +0100
commit8cfe8ad608e59d3536cd5403a70743a51cb901ee (patch)
tree67b16a5f6e2faf8866fd4cd0d2d8290a555c724b /lib/overwrite.rb
parent59dba52a30de35da0122cd6c25777573faa5ffc3 (diff)
fix task to rdf
Diffstat (limited to 'lib/overwrite.rb')
-rw-r--r--lib/overwrite.rb2
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)