Sha256: 384939a23a92f2aeb0c654a2204ceacd31a35041f691ae61ad7ee392a58ae396

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

module Calagator
  class Engine < ::Rails::Engine
    isolate_namespace Calagator

    middleware.use "Rack::JSONP"

    config.assets.precompile += %w( 
      markers-soft.png
      markers-shadow.png
      markers-soft@2x.png
      markers-shadow@2x.png
      leaflet.js
      leaflet_google_layer.js
      site-icon.png
      spinner.gif
      tag_icons/*
      leaflet
    )

    config.after_initialize do
      Calagator.configure_search_engine
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calagator-1.0.0 lib/calagator/engine.rb