Sha256: 15d446ba93ca12ad07681b7a81ec0e326ec90aaf892a6cec7a4eb6bd102fc4bc

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

module Leaflet
  class Engine < Rails::Engine
    initializer :append_assets_path do |app|
      # To link to javascripts
      app.config.assets.paths << File.join(config.root, 'lib', 'leaflet', 'src')

      # For additional files
      app.config.assets.paths << File.join(config.root, 'lib', 'zerista')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leaflet-ruby-0.3.beta4 lib/leaflet-ruby.rb