Sha256: 3ac5f77685546a1dbd40f311b7092f534ced03d7b17efb75ec38a9e26b9420d5
Contents?: true
Size: 862 Bytes
Versions: 1
Compression:
Stored size: 862 Bytes
Contents
require 'incarnator' require 'rails-assets-font-awesome' require 'rails-assets-metisMenu' require 'rails-assets-morrisjs' require 'rails-assets-bootstrap-social' require 'bootstrap-sass' require 'bootstrap-wysihtml5-rails' require 'foreigner' if Rails::VERSION::STRING < "4.2" module Theblog class Engine < ::Rails::Engine isolate_namespace Theblog config.generators do |g| g.test_framework :rspec g.fixture_replacement :factory_girl, :dir => 'spec/factories' end initializer :append_migrations do |app| unless app.root.to_s.match root.to_s config.paths["db/migrate"].expanded.each do |expanded_path| app.config.paths["db/migrate"] << expanded_path end end end config.to_prepare do Rails.application.config.assets.precompile += %w( theblog/* ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
theblog-0.0.1.1 | lib/theblog/engine.rb |