Replaced require with load to check if sporadic 404 in develop will go.

This commit is contained in:
Martin Edenhofer 2013-08-21 11:18:17 +02:00
parent bfc6db9f20
commit 11ab38b964

View file

@ -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