Commit 69e86a0a authored by o's avatar o
Browse files

accept :locale as the locales key too

parent 34fb1782
......@@ -44,6 +44,7 @@ class ApplicationController < ActionController::Base
I18n.locale =
valid_l(params[:horde_lang]) ||
valid_l(params[:l]) ||
valid_l(params[:locale]) ||
valid_l(session[:locale]) ||
extract_locale ||
I18n.default_locale
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment