Browse Source

Set config after env ins running to use an existing config namespace.

Martin Edenhofer 9 years ago
parent
commit
438bd42b8d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      config.ru

+ 3 - 3
config.ru

@@ -1,7 +1,7 @@
 # This file is used by Rack-based servers to start the application.
 
-# set config to do no self notification
-Rails.configuration.webserver_is_active = true
-
 require ::File.expand_path('../config/environment',  __FILE__)
 run Zammad::Application
+
+# set config to do no self notification
+Rails.configuration.webserver_is_active = true