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
parent 15ec53ea18
commit 071735a24d
+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