Skip to content
Snippets Groups Projects
Commit f6957f76 authored by Miguel Cabeça's avatar Miguel Cabeça
Browse files

Fix image url for emoji.

parent ab191963
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -160,7 +160,7 @@ module ApplicationHelper
end
 
def image_url(source)
root_url + path_to_image(source)
root_url.sub(/#{root_path}$/,'') + path_to_image(source)
end
alias_method :url_to_image, :image_url
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment