summaryrefslogtreecommitdiff
path: root/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'helper.rb')
-rw-r--r--helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.rb b/helper.rb
index 3e6e0fc..d8df7d2 100644
--- a/helper.rb
+++ b/helper.rb
@@ -250,7 +250,7 @@ module OpenTox
bad_request_error "#{@content_type} is not a supported content type."
end
if params["file"]
- nt = "<#{@uri}> <#{RDF::DC.title}> \"#{params["file"][:filename]}\".\n<#{uri}> <#{RDF::OT.hasSource}> \"#{params["file"][:filename]}\"."
+ nt = "<#{@uri}> <#{RDF::DC.title}> \"#{params["file"][:filename]}\".\n<#{@uri}> <#{RDF::OT.hasSource}> \"#{params["file"][:filename]}\"."
FourStore.put(@uri, nt, "text/plain")
end
nt ? FourStore.post(@uri, @body, @content_type) : FourStore.put(@uri, @body, @content_type)