This commit is contained in:
Andrew Brown 2018-09-09 00:05:27 -05:00
parent 243b8480e5
commit b2559aab7d

View File

@ -6,7 +6,7 @@
if f.object.respond_to?(field.name.to_sym)
value = f.object.send(field.name.to_sym)
else
value = Attribute.where(user: @content.user, attribute_field: field, entity: f.object).first
value = Attribute.where(user: current_user, attribute_field: field, entity: f.object).first
end
%>