Reputation: 5619
I've got some fonts added in the app/assets/fonts
they do not precompile for production ...
tried this in application.rb
module app
class Application < Rails::Application
config.assets.paths << Rails.root.join("app", "assets", "fonts", "tinymce")
whats going wrong?
I'm Using rails 4.2
Upvotes: 0
Views: 311
Reputation: 1370
Aside assets.paths you need to put assets.precompile in your application.rb: For example:
config.assets.precompile << /\.(?:svg|eot|woff|ttf)\z/
Upvotes: 1