Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #225 from codefirst/fix_broken_emoji_suggestion
Browse files Browse the repository at this point in the history
Fixed: broken emoji suggestions
  • Loading branch information
mallowlabs committed Mar 12, 2016
2 parents 3477979 + 7a5b45a commit 690e6cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $(function(){
return ":" + value + ":";
},
template: function(value){
return "<img src='<%= ActionController::Base.helpers.asset_path('emoji') %>/" + value + ".png'>" + value + "</img>";
return "<img src='<%= Rails.application.config.relative_url_root %><%= ActionController::Base.helpers.asset_path('emoji') %>/" + value + ".png'>" + value + "</img>";
},
maxCount: 5,
}
Expand Down

0 comments on commit 690e6cf

Please sign in to comment.