Sha256: 08ba9043365c22f687f3a341f276cbd09923a409ffecbe99efc0aaf1bdf82b43

Contents?: true

Size: 590 Bytes

Versions: 1

Compression:

Stored size: 590 Bytes

Contents

module Nodes
  class Engine < ::Rails::Engine
    isolate_namespace Nodes
    # routes.draw do
    #   root to: 'nodes#index'
    #   # mount Common::Engine => '/'
    # end
    config.generators do |g|
      g.test_framework :rspec, :fixture => false
      g.fixture_replacement :factory_girl, :dir => 'spec/factories'
      g.assets false
      g.helper false
    end
    initializer 'nodes.assets.precompile' do |app|
      app.config.assets.precompile +=
          %w( nodes/nodes.coffee nodes/nodes.scss nodes/favicon.ico
            nodes/create.png nodes/save.png)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nodes-0.2.6 lib/nodes/engine.rb