Sha256: ef50a00ecb2774c3080c49e53d12f392b3417807902319d26c841b7c56f974e0

Contents?: true

Size: 635 Bytes

Versions: 12

Compression:

Stored size: 635 Bytes

Contents

require 'active_model_serializers'
require 'slim-rails'
require 'ember-rails'
require 'emblem/rails'

# TODO: Isolate?
ActiveModel::Serializer.setup do |config|
  config.embed = :ids
  config.embed_in_root = true
end

module Neo4j
  module MetaModel
    class Engine < ::Rails::Engine
      isolate_namespace MetaModel

      initializer :assets do |config|
        Rails.application.config.assets.precompile += %w( admin/models.js meta_model.js
                                                          meta_model.css )

        Rails.application.config.assets.paths << "#{Rails.root}/vendor/assets/fonts"
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
neo4j-meta_model-0.3.5 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.3.4 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.3.3 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.3.2 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.3.1 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.3.0 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.2.2 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.2.1 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.2.0 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.1.2 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.1.1 lib/neo4j/meta_model/engine.rb
neo4j-meta_model-0.1.0 lib/neo4j/meta_model/engine.rb