FriendlyId::Globalize::Model

Public Instance Methods

set_friendly_id(text, locale) click to toggle source
# File lib/friendly_id/globalize.rb, line 79
def set_friendly_id(text, locale)
  I18n.with_locale(locale || I18n.locale) do
    set_slug(normalize_friendly_id(text))
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.