Commit 1c23f2b2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Correct image path to social icons

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 75c9c68c
...@@ -146,8 +146,7 @@ module ApplicationHelper ...@@ -146,8 +146,7 @@ module ApplicationHelper
def authbutton(provider, size = 64) def authbutton(provider, size = 64)
file_name = "#{provider.to_s.split('_').first}_#{size}.png" file_name = "#{provider.to_s.split('_').first}_#{size}.png"
image_tag("authbuttons/#{file_name}", image_tag(image_path("authbuttons/#{file_name}"), alt: "Sign in with #{provider.to_s.titleize}")
alt: "Sign in with #{provider.to_s.titleize}")
end end
def simple_sanitize(str) def simple_sanitize(str)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment