summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-09-13 23:42:04 +0000
committerRobert Speicher <robert@gitlab.com>2017-09-13 23:42:04 +0000
commit9626335cc218107a3be21ee82fb5e5bf9ed288c8 (patch)
tree1ec844d2ad55ea10e2350270720dc249738fdf67
parenta78657a633c1a8fe0aa2c36a2f912ade32327747 (diff)
parentffd5c98752af378a562e46b6b0fff3f4d7233a19 (diff)
downloadgitlab-ce-9626335cc218107a3be21ee82fb5e5bf9ed288c8.tar.gz
Merge branch 'fix_default_navigation_theme_selection' into 'master'
Fix default navigation theme selection Closes #37777 See merge request !14260
-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 69885008ecd..66d1d1e8d44 100644
--- a/app/views/profiles/preferences/show.html.haml
+++ b/app/views/profiles/preferences/show.html.haml
@@ -17,7 +17,7 @@
.preview-row
.quadrant.three
.quadrant.four
- = f.radio_button :theme_id, theme.id
+ = f.radio_button :theme_id, theme.id, checked: Gitlab::Themes.for_user(@user).id == theme.id
= theme.name
.col-sm-12