Replaced require with load to check if sporadic 404 in develop will go.
This commit is contained in:
parent
bfc6db9f20
commit
11ab38b964
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue