Permalink
Browse files

Fixing td tag in admin

  • Loading branch information...
1 parent f238335 commit 81e6d223a0f66cd74a6dcad660ed318bffa916ed Russell committed Nov 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/admin_helper.rb
@@ -60,7 +60,7 @@ def gen_table(collection, model, fields, options = {})
class_name = (item.moderatable? and item.blocked?) ? 'admin-blocked' : ''
html << "<tr class='#{class_name} #{cycle('odd', 'even')}'>"
fields.each do |field|
- html << "<td>#{field_value item, field, options[:associations]}</td"
+ html << "<td>#{field_value item, field, options[:associations]}</td>"
end
html << "<td>#{admin_links item}</td>"
html << "</tr>"

0 comments on commit 81e6d22

Please sign in to comment.