lib/active_admin/arbre/context.rb in andrewroth_activeadmin-0.3.4.3 vs lib/active_admin/arbre/context.rb in andrewroth_activeadmin-0.3.4.4
- old
+ new
@@ -33,10 +33,10 @@
# get the content lenght or to delegate a method to the HTML
def cached_html
if defined?(@cached_html)
@cached_html
else
- html = to_html
+ html = to_s
@cached_html = html if html.length > 0
html
end
end