lib/active_admin/views/components/table_for.rb in activeadmin-0.2.1 vs lib/active_admin/views/components/table_for.rb in activeadmin-0.2.2
- old
+ new
@@ -74,10 +74,10 @@
end
def build_table_body
@tbody = tbody do
# Build enough rows for our collection
- @collection.each{|_| tr(:class => cycle('odd', 'event')) }
+ @collection.each{|_| tr(:class => cycle('odd', 'even')) }
end
end
def build_table_cell(col, item)
td do