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:#



5
6
7
8
9
10
# File 'lib/friendly_id/non_sluggable_class_methods.rb', line 5

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