Class: PagePart
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- PagePart
- Defined in:
- app/models/page_part.rb
Instance Method Summary collapse
Instance Method Details
#to_param ⇒ Object
12 13 14 |
# File 'app/models/page_part.rb', line 12 def to_param "page_part_#{title.downcase.gsub(/\W/, '_')}" end |