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