lib/table_cloth.rb in table_cloth-0.2.0 vs lib/table_cloth.rb in table_cloth-0.2.1
- old
+ new
@@ -1,6 +1,7 @@
require 'action_view'
+require 'active_support/core_ext/class'
require 'table_cloth/version'
require 'table_cloth/configurable_elements'
require 'table_cloth/base'
module TableCloth
@@ -19,10 +20,10 @@
module Columns
autoload :Action, 'table_cloth/columns/action'
end
def config_for(type)
- Configuration.config_for(type)
+ Configuration.config_for(type).dup
end
module_function :config_for
end
TableCloth::Base.presenter ::TableCloth::Presenters::Default
\ No newline at end of file