app/models/thredded/category.rb in thredded-0.10.1 vs app/models/thredded/category.rb in thredded-0.11.0

- old
+ new

@@ -7,7 +7,11 @@ has_many :topics, through: :topic_categories friendly_id :name, use: [:history, :scoped], scope: :messageboard validates :name, presence: true validates :messageboard_id, presence: true + + def normalize_friendly_id(input) + Thredded.slugifier.call(input.to_s) + end end end