Class: Thredded::Category
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Thredded::Category
- Extended by:
- FriendlyId
- Defined in:
- app/models/thredded/category.rb
Instance Method Summary collapse
Instance Method Details
#normalize_friendly_id(input) ⇒ Object
14 15 16 |
# File 'app/models/thredded/category.rb', line 14 def normalize_friendly_id(input) Thredded.slugifier.call(input.to_s) end |