Class: Effective::Post

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/effective/post.rb

Instance Method Summary collapse

Instance Method Details

#to_paramObject



29
30
31
# File 'app/models/effective/post.rb', line 29

def to_param
  "#{id}-#{title.parameterize}"
end