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

- (Object) to_param



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

def to_param
  slug
end