Eliminate combined image_tag and image_path in providers list
This commit is contained in:
parent
71cdb24990
commit
1dc04bf6b7
|
@ -40,7 +40,7 @@ module AuthHelper
|
|||
if provider_has_icon?(provider)
|
||||
file_name = "#{provider.to_s.split('_').first}_#{size}.png"
|
||||
|
||||
image_tag(image_path("auth_buttons/#{file_name}"), alt: label, title: "Sign in with #{label}")
|
||||
image_tag("auth_buttons/#{file_name}", alt: label, title: "Sign in with #{label}")
|
||||
else
|
||||
label
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue