Sha256: 3d99f370edabe658c107a447be8205ad8d098bec4182ed686dd2593fcc049c47

Contents?: true

Size: 537 Bytes

Versions: 1

Compression:

Stored size: 537 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/*
        vendors/*
      )
    end 
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
home_page-0.0.6 lib/home_page/engine.rb