Module: FriendlyId::NonSluggableClassMethods

Includes:
Helpers
Defined in:
lib/friendly_id/non_sluggable_class_methods.rb

Class Method Summary collapse

Methods included from Helpers

#expected_size

Class Method Details

.extended(base) ⇒ Object

:nodoc:#



7
8
9
10
11
12
# File 'lib/friendly_id/non_sluggable_class_methods.rb', line 7

def self.extended(base) #:nodoc:#
  class << base
    alias_method_chain :find_one, :friendly
    alias_method_chain :find_some, :friendly
  end
end