I have a plugin that transforms
[smartass] tags to a custom font, which is served as an otf file.
Serving the otf file used to work perfectly using the code I quote below.
Unfortunately, this method doesn’t work anymore (since when, I don’t know, though). If I copy the files to
public/assets, it works, but when I
rake assets:precompile the font files are not moved to
public/assets, although the
.css are correctly included.
What is the correct way to serve non-css (or scss) non-js assets in plugin?
Continuing the discussion from Assets and plugins: