Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-05 22:53:57 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-06-14 00:58:16 +0300
commit8112f7550b70c83bde2f74ed48e7781c5424ebb9 (patch)
tree901945d778c172754ff408832f26c8a2b39a3def /app/views/profiles/preferences
parent844d72716e2175dcd5e39b4d1eecb9e3560aa0b9 (diff)
Add PreferencesHelper module
Consolidates the helpers related to user preferences. Renames `app_theme` to `user_application_theme` to better explain what it is.
Diffstat (limited to 'app/views/profiles/preferences')
-rw-r--r--app/views/profiles/preferences/update.js.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/preferences/update.js.erb b/app/views/profiles/preferences/update.js.erb
index 830df228557..cd2c5b632e0 100644
--- a/app/views/profiles/preferences/update.js.erb
+++ b/app/views/profiles/preferences/update.js.erb
@@ -1,3 +1,3 @@
// Remove body class for any previous theme, re-add current one
$('body').removeClass('<%= Gitlab::Themes.body_classes %>')
-$('body').addClass('<%= app_theme %>')
+$('body').addClass('<%= user_application_theme %>')