[refs #105] Add locale fixes

This commit is contained in:
konstantin.grabar 2012-01-19 00:58:38 +04:00
parent 4ba268dd67
commit bd6abf2681
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class ApplicationController < ActionController::Base
protected
def set_locale
I18n.locale = check_locale( get_user_locale || request.env['HTTP_ACCEPT_LANGUAGE'].to_sym )
I18n.locale = check_locale( get_user_locale || request.env['HTTP_ACCEPT_LANGUAGE'] )
end
def get_user_locale