lib/home_page/engine.rb in home_page-0.0.2 vs lib/home_page/engine.rb in home_page-0.0.3
- old
+ new
@@ -1,4 +1,9 @@
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 }
end
end