app/models/area.rb in voluntary-0.5.2 vs app/models/area.rb in voluntary-0.6.0

- old
+ new

@@ -34,6 +34,12 @@ children.with_projects_for_product(product_id) end def products end + + private + + def should_generate_new_friendly_id? + slug.blank? || name_changed? + end end \ No newline at end of file