added 'lib' directory to autoload_once_paths in production environment

This commit is contained in:
Thomas Buchöster
2011-07-10 11:01:58 +02:00
committed by Thomas Buchöster
parent cc848c92b5
commit a532b14da8
+1
View File
@@ -1,5 +1,6 @@
Nineminutes::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
config.autoload_once_paths += %W(#{config.root}/lib)
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests