]> git.openstreetmap.org Git - rails.git/commit
Try preferred_language_from as it looks for an exact match - only if that
authorTom Hughes <tom@compton.nu>
Wed, 15 Jul 2009 23:29:07 +0000 (23:29 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 15 Jul 2009 23:29:07 +0000 (23:29 +0000)
commit1368f194da3834559c195e6a9e269cd4cb580437
treed2290a8b9953358235bd83597b2638b0fc43c846
parenta5ab0061220ce76450f67dbe311b23cedd67c95c
Try preferred_language_from as it looks for an exact match - only if that
fails do we fall back to compatible_language_from which will take any
language where the first token matches. Fixes #2069.
app/controllers/application_controller.rb