Sha256: 6ab162cad2f71e6a32327016f5f61809d51ee002b966b4be7a7faf6d7891ae56

Contents?: true

Size: 126 Bytes

Versions: 160

Compression:

Stored size: 126 Bytes

Contents

module FriendlyName

  def to_param
    friendly_name
  end

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

Version data entries

160 entries across 160 versions & 2 rubygems

Version Path
mumuki-domain-9.23.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.22.1 app/models/concerns/friendly_name.rb
mumuki-domain-9.22.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.21.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.20.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.19.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.18.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.17.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.16.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.15.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.14.1 app/models/concerns/friendly_name.rb
mumuki-domain-9.14.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.13.1 app/models/concerns/friendly_name.rb
mumuki-domain-9.13.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.12.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.11.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.10.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.9.0 app/models/concerns/friendly_name.rb
mumuki-domain-9.8.1 app/models/concerns/friendly_name.rb
mumuki-domain-9.8.0 app/models/concerns/friendly_name.rb