diff --git a/app/controllers/application.rb b/app/controllers/application.rb index d902eac75..97332ba01 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -102,7 +102,7 @@ class ApplicationController < ActionController::Base end def set_locale - request.compatible_language_from(I18n.backend.available_locales) + request.compatible_language_from(I18n.available_locales) end def api_call_handle_error