Open minesh21 opened 8 years ago
make sure you have ran these steps.
rails g rails_emoji_picker:install It copies emoji images to your /assets/images directory
Add emoji picker js file
application.js
//= require jquery //= require rails_emoji_picker //= require_tree . And styles
application.css
/ = require_tree . = require rails_emoji_picker = require bootstrap = require_self / application.scss or sass
@import 'rails_emoji_picker'
I'm using
<%=content_with_emoji(comment.msg)%>
to display a message along with the emoji in my view and I keep getting a _no method error: undefined method `assethost' for Emoji:Module I'm not to sure what's going on?