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:
authorAndrei Gliga <otzy_007@yahoo.com>2016-05-10 18:46:40 +0300
committerAndrei Gliga <otzy_007@yahoo.com>2016-05-12 13:44:46 +0300
commit25ff3fd5bdd8645f45254aa52397f8d6b49386b5 (patch)
treefe586ea7243183f0886365a0ed5d5ce8f566aa1f /app/views/admin
parentab7f9c9ae1281857bef655a1af64774c628befa1 (diff)
button_based_providers.any? instead of !button_based_providers.empty?
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/application_settings/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index ecd032acfd0..909339f7bce 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -109,7 +109,7 @@
= f.label :signin_enabled do
= f.check_box :signin_enabled
Sign-in enabled
- - if omniauth_enabled? && !button_based_providers.empty?
+ - if omniauth_enabled? && button_based_providers.any?
.form-group
= f.label :enabled_oauth_sign_in_sources, 'Enabled OAuth Sign-In sources', class: 'control-label col-sm-2'
.col-sm-10