Make setting of user_preferred_languages work.
This commit is contained in:
parent
a53a30d37a
commit
fd62c04463
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module HttpAcceptLanguage
|
||||||
# Sets the user languages preference, overiding the browser
|
# Sets the user languages preference, overiding the browser
|
||||||
#
|
#
|
||||||
def user_preferred_languages=(languages)
|
def user_preferred_languages=(languages)
|
||||||
@user_preferred_languages = languages.join(",")
|
@user_preferred_languages = languages
|
||||||
end
|
end
|
||||||
|
|
||||||
# Finds the locale specifically requested by the browser.
|
# Finds the locale specifically requested by the browser.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue