We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3906cce + 327f785 commit 4cde8ecCopy full SHA for 4cde8ec
app/views/questions/_common.jsonify
@@ -7,5 +7,7 @@ json.id question.to_param
7
unless @export
8
json.url question_url(question)
9
end
10
-json.lists question.lists.visible_for(present_user).map(&:name)
+lists = question.lists
11
+lists = lists.visible_for(present_user) unless @export
12
+json.lists lists.map(&:name)
13
json.tags question.taggings.map{ |tagging| tagging.tag.name }
0 commit comments