mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
oops
This commit is contained in:
parent
243b8480e5
commit
b2559aab7d
@ -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
|
||||
%>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user