lib/generators/templates/app/helpers/beautiful_helper.rb in beautiful_scaffold-0.3.6 vs lib/generators/templates/app/helpers/beautiful_helper.rb in beautiful_scaffold-1.0.0.pre

- old
+ new

@@ -224,9 +224,10 @@ else "al" end end + # Encore utilisé avec wysihtml5 ? def exclude_richtext_field(array_of_attributes, only_fulltext = true) pattern = /$()_fulltext/ richtext_attributes = [] array_of_attributes.each{ |a| richtext_attributes << a[pattern] if a[pattern]