Eliminate combined image_tag and image_path in providers list

This commit is contained in:
Stan Hu 2015-09-16 11:04:09 -07:00
parent 71cdb24990
commit 1dc04bf6b7
1 changed files with 1 additions and 1 deletions

View File

@ -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