mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
8 lines
178 B
Ruby
8 lines
178 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
unless Rails.application.config.eager_load
|
||
|
Rails.application.config.to_prepare do
|
||
|
Extends::STI_PRELOAD_CLASSES.each(&:constantize)
|
||
|
end
|
||
|
end
|