diff options
author | Andrei Gliga <otzy_007@yahoo.com> | 2016-05-10 18:46:40 +0300 |
---|---|---|
committer | Andrei Gliga <otzy_007@yahoo.com> | 2016-05-12 13:44:46 +0300 |
commit | 25ff3fd5bdd8645f45254aa52397f8d6b49386b5 (patch) | |
tree | fe586ea7243183f0886365a0ed5d5ce8f566aa1f /app/views/admin | |
parent | ab7f9c9ae1281857bef655a1af64774c628befa1 (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.haml | 2 |
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 |