Sha256: 4eb6311ba2bf6143dda0f47fad9648401f6de33a184050fe5d0009b71d8cf6fe
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 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 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
neo4j-meta_model-0.0.1 | lib/meta_model/engine.rb |