mumuki/mumuki-domain

View on GitHub
app/models/concerns/friendly_name.rb

Summary

Maintainability
A
0 mins
Test Coverage
module FriendlyName

  def to_param
    friendly_name
  end

  def friendly_name
    "#{id} #{friendly}".friendlish
  end
end