app/helpers/pagelets_helper.rb in pagelet_rails-0.1.8 vs app/helpers/pagelets_helper.rb in pagelet_rails-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ module PageletsHelper def html_container_attributes - html_opts = pagelet_options.html || {} + html_opts = pagelet_options.html.deep_dup || {} classes = html_opts.fetch(:class, '').split(' ') classes << "pagelet-#{controller_name}" classes << "pagelet-#{controller_name}-#{action_name}" html_opts[:id] ||= pagelet_default_id