lib/express_templates/components/base.rb in express_templates-0.9.8 vs lib/express_templates/components/base.rb in express_templates-0.10.1

- old
+ new

@@ -30,9 +30,13 @@ set_attribute(name, value) end add_class _default_classes end + def assigns + @assigns_with_indifferent_access ||= super.merge(helpers.assigns.with_indifferent_access) + end + def self.contains(proc = nil, &block) define_method(:_build_body, &(proc || block)) end # Override the tag_name method for other than <div>