Skip to content

Conversation

@arkadiybutermanov
Copy link
Contributor

There is an error in wysiwyg.css linking in production environment when using assets precompilation:

Currently this file is linked directly in js (https://github.com/stefanoverna/activeadmin-wysihtml5/blob/master/app/assets/javascripts/activeadmin-wysihtml5/base.js.coffee#L44). That's why it's Not Found after precompilation. File simply does not exists in a public/ directory, but precompilled wysiwyg-some-long-hash.css exists!

Maybe there are some better solutions to fix this issue, but I've decided just to add .erb extension to base.js.coffee file to have an ability to use there Rails's assets helpers.

@arkadiybutermanov
Copy link
Contributor Author

@stefanoverna could you please take a look?

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

Successfully merging this pull request may close these issues.

1 participant