module Leaflet class Engine < Rails::Engine initializer :append_assets_path do |app| # For javascripts app.config.assets.paths << File.join(config.root, 'lib', 'leaflet', 'src') # For images and stylesheets app.config.assets.paths << File.join(config.root, 'lib', 'leaflet', 'dist') # For additional files app.config.assets.paths << File.join(config.root, 'lib', 'zerista') end end end