0
0
Fork 0

Add time zone preference (#25342)

This commit is contained in:
Eugen Rochko 2023-06-10 03:29:37 +02:00 committed by GitHub
parent 16dd3f08c1
commit 4c9406bdb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 32 additions and 17 deletions

View file

@ -19,6 +19,6 @@ class Settings::Preferences::BaseController < Settings::BaseController
end
def user_params
params.require(:user).permit(:locale, chosen_languages: [], settings_attributes: UserSettings.keys)
params.require(:user).permit(:locale, :time_zone, chosen_languages: [], settings_attributes: UserSettings.keys)
end
end