diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-05 22:53:57 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 00:58:16 +0300 |
commit | 8112f7550b70c83bde2f74ed48e7781c5424ebb9 (patch) | |
tree | 901945d778c172754ff408832f26c8a2b39a3def /app/views/profiles/preferences | |
parent | 844d72716e2175dcd5e39b4d1eecb9e3560aa0b9 (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.erb | 2 |
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 %>') |