Merge pull request #5921 from betagouv/fix-zeitwerk-warning
Suppression d'un avertissement zeitwerk au démarrage de l'app en environnement de développement local (#5921)
This commit is contained in:
commit
b28f2e83c1
1 changed files with 15 additions and 13 deletions
|
@ -13,18 +13,20 @@
|
|||
|
||||
require 'excon'
|
||||
|
||||
module ApiEntreprise
|
||||
Job = APIEntreprise::Job
|
||||
AssociationJob = APIEntreprise::AssociationJob
|
||||
AttestationFiscaleJob = APIEntreprise::AttestationFiscaleJob
|
||||
AttestationSocialeJob = APIEntreprise::AttestationSocialeJob
|
||||
BilansBdfJob = APIEntreprise::BilansBdfJob
|
||||
EffectifsAnnuelsJob = APIEntreprise::EffectifsAnnuelsJob
|
||||
EffectifsJob = APIEntreprise::EffectifsJob
|
||||
EntrepriseJob = APIEntreprise::EntrepriseJob
|
||||
ExercicesJob = APIEntreprise::ExercicesJob
|
||||
end
|
||||
Rails.application.reloader.to_prepare do
|
||||
module ApiEntreprise
|
||||
Job = APIEntreprise::Job
|
||||
AssociationJob = APIEntreprise::AssociationJob
|
||||
AttestationFiscaleJob = APIEntreprise::AttestationFiscaleJob
|
||||
AttestationSocialeJob = APIEntreprise::AttestationSocialeJob
|
||||
BilansBdfJob = APIEntreprise::BilansBdfJob
|
||||
EffectifsAnnuelsJob = APIEntreprise::EffectifsAnnuelsJob
|
||||
EffectifsJob = APIEntreprise::EffectifsJob
|
||||
EntrepriseJob = APIEntreprise::EntrepriseJob
|
||||
ExercicesJob = APIEntreprise::ExercicesJob
|
||||
end
|
||||
|
||||
module Cron
|
||||
FixMissingAntivirusAnalysis = FixMissingAntivirusAnalysisJob
|
||||
module Cron
|
||||
FixMissingAntivirusAnalysis = FixMissingAntivirusAnalysisJob
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue