diff options
author | Andrei Gliga <otzy_007@yahoo.com> | 2016-05-10 18:50:03 +0300 |
---|---|---|
committer | Andrei Gliga <otzy_007@yahoo.com> | 2016-05-12 13:44:46 +0300 |
commit | 46064cb84c579bd1657baffe24f5a515759bff67 (patch) | |
tree | 60f236804eba246a1d852082c4442ce21c756ed5 /app/helpers | |
parent | e87c96eef6d8d837bf4475e2681f4c5c5e40488d (diff) | |
download | gitlab-ce-46064cb84c579bd1657baffe24f5a515759bff67.tar.gz |
<< instead of +=
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_settings_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_settings_helper.rb b/app/helpers/application_settings_helper.rb index ced8e16de74..878b1b254ce 100644 --- a/app/helpers/application_settings_helper.rb +++ b/app/helpers/application_settings_helper.rb @@ -65,7 +65,7 @@ module ApplicationSettingsHelper button_based_providers.map do |source| disabled = current_application_settings.disabled_oauth_sign_in_sources.include?(source.to_s) css_class = 'btn' - css_class += ' active' unless disabled + css_class << ' active' unless disabled checkbox_name = 'application_setting[enabled_oauth_sign_in_sources][]' label_tag(checkbox_name, class: css_class) do |