Commit 297cb888 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'if-ruby2.7_kwargs_in_saml_providers_helper' into 'master'

Fix Ruby 2.7 kwargs deprecation warning in  SamlProvidersHelper

See merge request gitlab-org/gitlab!44267
parents 104512a8 c7f2331b
......@@ -14,8 +14,8 @@ module EE
can?(current_user, :admin_group_saml, group)
end
def saml_link_for_provider(text, provider, *args)
saml_link(text, provider.group.full_path, *args)
def saml_link_for_provider(text, provider, **args)
saml_link(text, provider.group.full_path, **args)
end
def saml_link(text, group_path, redirect: nil, html_class: 'btn')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment