summaryrefslogtreecommitdiff
path: root/app/views/profiles
diff options
context:
space:
mode:
authorFabian Schneider <fabbbbbi+git@googlemail.com>2018-11-08 17:49:54 +0100
committerFabian Schneider <fabbbbbi+git@googlemail.com>2019-02-06 17:33:57 +0100
commit5402f3c360eaa668782d53cdf04fcc1cb0a400ec (patch)
treea6d8baf2283139613178fbb9f3274f1e4cbc0cf5 /app/views/profiles
parent27f7771ae1a4b5f9d973a55ccbbbe30b0e05f100 (diff)
downloadgitlab-ce-5402f3c360eaa668782d53cdf04fcc1cb0a400ec.tar.gz
Add default setting for first day of the week preference
Diffstat (limited to 'app/views/profiles')
-rw-r--r--app/views/profiles/preferences/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml
index 5e1c1f30ca4..bed9aa05224 100644
--- a/app/views/profiles/preferences/show.html.haml
+++ b/app/views/profiles/preferences/show.html.haml
@@ -75,7 +75,7 @@
.form-group
= f.label :first_day_of_week, class: 'label-bold' do
First day of the week
- = f.select :first_day_of_week, options_for_select(first_day_of_week_choices, @user.first_day_of_week || Gitlab::CurrentSettings.default_first_day_of_week), {}, class: 'form-control'
+ = f.select :first_day_of_week, first_day_of_week_choices, {}, class: 'form-control'
.form-text.text-muted
Choose on what day the week should start.
.form-group