Sha256: 292db14409eb5486c7042819b03d9834393a4aa8690531d2824ef4af079c2a90

Contents?: true

Size: 519 Bytes

Versions: 2

Compression:

Stored size: 519 Bytes

Contents

module HomePage
  class Engine < ::Rails::Engine
    config.autoload_paths << File.expand_path("../../../app/models/concerns", __FILE__)
    config.autoload_paths << File.expand_path("../../../app/controllers/concerns", __FILE__)
    config.i18n.load_path += Dir[File.expand_path("../../../config/locales/**/*.{rb,yml}", __FILE__)]
    
    config.generators{|g| g.orm :active_record }
    
    config.to_prepare do
      Rails.application.config.assets.precompile += %w(
        home_page/*
      )
    end 
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
home_page-0.0.5 lib/home_page/engine.rb
home_page-0.0.4 lib/home_page/engine.rb