Module: SluggableFinder::BaseFinder

Defined in:
lib/sluggable_finder/finder.rb

Instance Method Summary collapse

Instance Method Details

#find_with_slug(*args) ⇒ Object



22
23
24
25
26
# File 'lib/sluggable_finder/finder.rb', line 22

def find_with_slug(*args)
  return find_without_slug(*args) unless respond_to?(:sluggable_finder_options)
  options = sluggable_finder_options
  find_sluggable(options,*args)
end