55 56 57 58 59 60 61
# File 'lib/lolita/system_configuration/base.rb', line 55 def locale=given_locale @locale=if locales.include?(given_locale.to_s.to_sym) given_locale.to_s.to_sym else Lolita.default_locale end end