lib/active_admin/views/components/sidebar_section.rb in activeadmin-0.4.4 vs lib/active_admin/views/components/sidebar_section.rb in activeadmin-0.5.0.pre
- old
+ new
@@ -17,10 +17,10 @@
def build_sidebar_content
if @section.block
rvalue = instance_eval(&@section.block)
self << rvalue if rvalue.is_a?(String)
else
- text_node render(@section.partial_name)
+ render(@section.partial_name)
end
end
end
end