summaryrefslogtreecommitdiff
path: root/app/controllers/profiles_controller.rb
diff options
context:
space:
mode:
authorRuben Davila <rdavila84@gmail.com>2017-04-12 23:23:02 -0500
committerRuben Davila <rdavila84@gmail.com>2017-04-12 23:23:02 -0500
commitbd86796dd0edae7e5db2bfbb887d3196498ebd49 (patch)
tree512f500bf4205de786d4cc6377cec51cff39a8fc /app/controllers/profiles_controller.rb
parentacc807cd30a4b0005b552d67583b20538474a1f2 (diff)
downloadgitlab-ce-bd86796dd0edae7e5db2bfbb887d3196498ebd49.tar.gz
Add support to change language in profile form
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r--app/controllers/profiles_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb
index 987b95e89b9..57e23cea00e 100644
--- a/app/controllers/profiles_controller.rb
+++ b/app/controllers/profiles_controller.rb
@@ -85,7 +85,8 @@ class ProfilesController < Profiles::ApplicationController
:twitter,
:username,
:website_url,
- :organization
+ :organization,
+ :preferred_language
)
end
end