lib/volt/volt/server_setup/app.rb in volt-0.9.3.pre5 vs lib/volt/volt/server_setup/app.rb in volt-0.9.3.pre6
- old
+ new
@@ -46,10 +46,11 @@
end
end
# This config needs to run earlier than others
def run_config
- require("#{Volt.root}/config/app.rb")
+ path = "#{Volt.root}/config/app.rb"
+ require(path) if File.exists?(path)
end
# Load in all .rb files in the initializers folders and the config/app.rb
# file.
def run_app_and_initializers
\ No newline at end of file