Class: FriendlyId::Slug

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/friendly_id/slug.rb

Overview

A FriendlyId slug stored in an external table.

See Also:

Instance Method Summary collapse

Instance Method Details

#to_paramObject



9
10
11
# File 'lib/friendly_id/slug.rb', line 9

def to_param
  slug
end