mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Fix namespaces for Zeitwerk class loader
This commit is contained in:
parent
32634c7a8b
commit
43b3033991
78 changed files with 666 additions and 704 deletions
|
@ -16,8 +16,8 @@ namespace :documents do
|
|||
next if x.documentable_id.blank?
|
||||
|
||||
document_type = case x.documentable_type
|
||||
when 'Domain' then DomainVersion
|
||||
when 'Contact'then ContactVersion
|
||||
when 'Domain' then Version::DomainVersion
|
||||
when 'Contact'then Version::ContactVersion
|
||||
end
|
||||
|
||||
dc = document_type.where(item_id: x.documentable_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue