summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-03-12 10:08:58 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-03-12 10:08:58 +0200
commit1c23f2b2594a1326a21a3ecd0856fa9b57eca059 (patch)
tree025a064141c78c95131feefae63dfd43edaf4476
parent75c9c68c18f287473e49b1f8e9282c1062d48897 (diff)
downloadgitlab-ce-1c23f2b2594a1326a21a3ecd0856fa9b57eca059.tar.gz
Correct image path to social icons
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/helpers/application_helper.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 90b05027155..faecde299c1 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -146,8 +146,7 @@ module ApplicationHelper
def authbutton(provider, size = 64)
file_name = "#{provider.to_s.split('_').first}_#{size}.png"
- image_tag("authbuttons/#{file_name}",
- alt: "Sign in with #{provider.to_s.titleize}")
+ image_tag(image_path("authbuttons/#{file_name}"), alt: "Sign in with #{provider.to_s.titleize}")
end
def simple_sanitize(str)