lib/tabulatr/tabulatr/header_cell.rb in tabulatr-0.3.0 vs lib/tabulatr/tabulatr/header_cell.rb in tabulatr-0.4.0
- old
+ new
@@ -81,9 +81,10 @@
concat(t(opts[:header] || ""), :escape_html)
end
end
def header_action(opts={}, &block)
+ opts = normalize_column_options opts
make_tag(:th, opts[:th_html]) do
concat(t(opts[:header] || ""), :escape_html)
end
end