Skip to content

Commit 1fe85e7

Browse files
committed
Fix query in rating_helper.
Fixes #67.
1 parent 60c3e05 commit 1fe85e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rdf/linter/writer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def rating_helper(property, object)
226226
else
227227
subject_done(object)
228228
# It is marked up in a Review class
229-
graph.query(subject: object) do |st|
229+
graph.query({subject: object}) do |st|
230230
html += %(<span property='#{get_curie(st.predicate)}' content='#{st.object}' />)
231231
case st.predicate.to_s
232232
when /best(?:Rating)/

0 commit comments

Comments
 (0)