lib/blocks/table_for.rb in blocks-0.3 vs lib/blocks/table_for.rb in blocks-0.4
- old
+ new
@@ -6,11 +6,11 @@
def header(name, options={}, &block)
define("#{name.to_s}_header", options, &block)
end
def initialize(options)
- options[:template] = "blocks/tables/table"
- options[:templates_folder] = "tables"
+ options[:template] = "blocks/table"
+ options[:templates_folder] = "blocks/tables"
options[:record_variable] = "records"
options[:variable] = "table"
super
end
end