Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing emoji #14

Open
minesh21 opened this issue Jun 29, 2016 · 1 comment
Open

Viewing emoji #14

minesh21 opened this issue Jun 29, 2016 · 1 comment

Comments

@minesh21
Copy link

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 `asset_host' for Emoji:Module I'm not to sure what's going on?

@qnoox
Copy link

qnoox commented Jan 21, 2017

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants