Module: Mongoid::Slugs

Extended by:
ActiveSupport::Concern
Defined in:
lib/mongoid/slugs/version.rb,
lib/mongoid/slugs.rb

Defined Under Namespace

Modules: ClassMethods, Errors

Constant Summary collapse

VERSION =
"0.0.1"

Instance Method Summary collapse

Instance Method Details

#to_paramObject



28
29
30
# File 'lib/mongoid/slugs.rb', line 28

def to_param
  slug
end