Fix styling of external log-in button (#35320)

This commit is contained in:
Claire authored and GitHub committed 2025-07-10 06:56:40 +00:00
1 parent e9170e2de1
commit a315934314
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ module ApplicationHelper
def provider_sign_in_link(provider)
label = Devise.omniauth_configs[provider]&.strategy&.display_name.presence || I18n.t("auth.providers.#{provider}", default: provider.to_s.chomp('_oauth2').capitalize)
link_to label, omniauth_authorize_path(:user, provider), class: "button button-#{provider}", method: :post
link_to label, omniauth_authorize_path(:user, provider), class: "btn button-#{provider}", method: :post
end
def locale_direction