parent
7635afd0c4
commit
16b5417842
3 changed files with 10 additions and 1 deletions
|
@ -156,4 +156,9 @@ module ApplicationHelper
|
|||
image_tag("authbuttons/#{file_name}",
|
||||
alt: "Sign in with #{provider.to_s.titleize}")
|
||||
end
|
||||
|
||||
def image_url(source)
|
||||
root_url + path_to_image(source)
|
||||
end
|
||||
alias_method :url_to_image, :image_url
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue