diff --git a/lib/friendly_id/base.rb b/lib/friendly_id/base.rb index fbd3e149..3405994e 100644 --- a/lib/friendly_id/base.rb +++ b/lib/friendly_id/base.rb @@ -150,7 +150,7 @@ module Base # config.use :slugged # config.use Module.new { # def normalize_friendly_id(text) - # text.to_slug.normalize! :transliterations => [:russian, :latin] + # text.to_slug.normalize! :transliterate => [:russian, :latin] # end # } # end diff --git a/lib/friendly_id/initializer.rb b/lib/friendly_id/initializer.rb index 5852b581..62cade4b 100644 --- a/lib/friendly_id/initializer.rb +++ b/lib/friendly_id/initializer.rb @@ -101,7 +101,7 @@ # # config.use Module.new { # def normalize_friendly_id(text) - # text.to_slug.normalize! :transliterations => [:russian, :latin] + # text.to_slug.normalize! :transliterate => [:russian, :latin] # end # } end