lib/enjoy/admin/seo.rb in enjoy_cms-0.3.2.1 vs lib/enjoy/admin/seo.rb in enjoy_cms-0.3.3

- old
+ new

@@ -17,20 +17,10 @@ field :og_image, :jcrop do jcrop_options :og_image_jcrop_options end - fields.each_pair do |name, type| - if type.nil? - field name - else - if type.is_a?(Array) - field name, type[0], &type[1] - else - field name, type - end - end - end + Enjoy::RailsAdminGroupPatch::enjoy_cms_group(self, fields) if block_given? yield self end }