Class: SimpleForum::Category
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SimpleForum::Category
- Defined in:
- app/models/simple_forum/category.rb
Instance Method Summary collapse
Instance Method Details
#to_param ⇒ Object
19 20 21 |
# File 'app/models/simple_forum/category.rb', line 19 def to_param "#{id}-#{name.to_s.parameterize}" end |