From 8cfe8ad608e59d3536cd5403a70743a51cb901ee Mon Sep 17 00:00:00 2001 From: mguetlein Date: Mon, 24 Jan 2011 19:35:36 +0100 Subject: fix task to rdf --- lib/overwrite.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/overwrite.rb') 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) -- cgit v1.2.3