Commit 1c23f2b2594a1326a21a3ecd0856fa9b57eca059

Authored by Dmitriy Zaporozhets
1 parent 75c9c68c

Correct image path to social icons

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
app/helpers/application_helper.rb
@@ -146,8 +146,7 @@ module ApplicationHelper @@ -146,8 +146,7 @@ module ApplicationHelper
146 146
147 def authbutton(provider, size = 64) 147 def authbutton(provider, size = 64)
148 file_name = "#{provider.to_s.split('_').first}_#{size}.png" 148 file_name = "#{provider.to_s.split('_').first}_#{size}.png"
149 - image_tag("authbuttons/#{file_name}",  
150 - alt: "Sign in with #{provider.to_s.titleize}") 149 + image_tag(image_path("authbuttons/#{file_name}"), alt: "Sign in with #{provider.to_s.titleize}")
151 end 150 end
152 151
153 def simple_sanitize(str) 152 def simple_sanitize(str)