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.
1 parent 5676c99 commit 8eea27aCopy full SHA for 8eea27a
lib/active_admin/views/components/attributes_table.rb
@@ -45,7 +45,7 @@ def empty_value
45
def content_for(attr_or_proc)
46
value = case attr_or_proc
47
when Proc
48
- attr_or_proc.call
+ attr_or_proc.call(@record)
49
else
50
content_for_attribute(attr_or_proc)
51
end
0 commit comments