Commit 0475e7468f9727ba719f94a3962b7ec55ea8acae
1 parent
7564195b
Exists in
master
and in
29 other branches
Revert "Issue #63 Language selection bug"
This reverts commit 190a130ea45fb5911016be68cfb1038f762ea313.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/language_helper.rb
... | ... | @@ -16,7 +16,7 @@ module LanguageHelper |
16 | 16 | def language_chooser(environment=nil, options = {}) |
17 | 17 | locales = environment.nil? ? Noosfero.locales : environment.locales |
18 | 18 | return if locales.size < 2 |
19 | - current = FastGettext.locale | |
19 | + current = language | |
20 | 20 | separator = options[:separator] || ' — ' |
21 | 21 | |
22 | 22 | if options[:element] == 'dropdown' | ... | ... |