From 11ab38b96435e85bb2c1b69269af22772da9afce Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 21 Aug 2013 11:18:17 +0200 Subject: [PATCH] Replaced require with load to check if sporadic 404 in develop will go. --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 251d53340..ba2c772e9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -12,7 +12,7 @@ Zammad::Application.routes.draw do dir = File.expand_path('../', __FILE__) files = Dir.glob( "#{dir}/routes/*.rb" ) for file in files - require file + load file ExtraRoutes.add(self, Rails.configuration.api_path) end end