about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-29 23:37:14 +0200
committerGitHub <noreply@github.com>2019-07-29 23:37:14 +0200
commitf48c7689d230b915ed740a4774736bd5998cbc66 (patch)
tree3d883f06fe8e3abbc5653e029ac8612ae114f135 /app/helpers
parenta4a81c5434c73139f7c1d66f2687039237c5208a (diff)
parent51411267fda00db576230a270a10e31992378c18 (diff)
Merge pull request #1179 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/jsonld_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/jsonld_helper.rb b/app/helpers/jsonld_helper.rb
index 83a5b2462..1c473efa3 100644
--- a/app/helpers/jsonld_helper.rb
+++ b/app/helpers/jsonld_helper.rb
@@ -130,7 +130,7 @@ module JsonLdHelper
       end
     end
 
-    doc = JSON::LD::API::RemoteDocument.new(url, json)
+    doc = JSON::LD::API::RemoteDocument.new(json, documentUrl: url)
 
     block_given? ? yield(doc) : doc
   end