lib/leaflet-ruby.rb in leaflet-ruby-0.3.beta3 vs lib/leaflet-ruby.rb in leaflet-ruby-0.3.beta4
- old
+ new
@@ -1,12 +1,9 @@
module Leaflet
class Engine < Rails::Engine
initializer :append_assets_path do |app|
- # For javascripts
+ # To link to 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
\ No newline at end of file