summaryrefslogtreecommitdiff
path: root/app/helpers/auth_helper.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-09-16 11:04:09 -0700
committerStan Hu <stanhu@gmail.com>2015-09-16 11:04:09 -0700
commit1dc04bf6b7b3d3984e1ba69c7fce5f7fa1677fe9 (patch)
tree5f29d7c7fe00e7f2e60154b7f7b80177033e53a3 /app/helpers/auth_helper.rb
parent71cdb24990beb0d6f0d3d845d01e75b14180801b (diff)
downloadgitlab-ce-1dc04bf6b7b3d3984e1ba69c7fce5f7fa1677fe9.tar.gz
Eliminate combined image_tag and image_path in providers list
Diffstat (limited to 'app/helpers/auth_helper.rb')
-rw-r--r--app/helpers/auth_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/auth_helper.rb b/app/helpers/auth_helper.rb
index d9502181c4f..ce7e9b1db87 100644
--- a/app/helpers/auth_helper.rb
+++ b/app/helpers/auth_helper.rb
@@ -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