lib/onebox/layout_support.rb in onebox-1.9.20 vs lib/onebox/layout_support.rb in onebox-1.9.21
- old
+ new
@@ -6,10 +6,10 @@
def self.max_text
500
end
def layout
- @layout ||= Layout.new(self.class.onebox_name, record, @cache)
+ @layout ||= Layout.new(self.class.onebox_name, data)
end
def to_html
layout.to_html
end