Class: Curate::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/curate/engine.rb

Instance Method Summary collapse

Instance Method Details

#pathsObject



4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/curate/engine.rb', line 4

def paths
  @curate_paths ||= begin
    super_paths = super
    super_paths.add "app/repository_datastreams", eager_load: true
    super_paths.add "app/repository_models/curation_concern", eager_load: true
    super_paths.add "app/services", eager_load: true
    super_paths.add "app/validators", eager_load: true
    super_paths.add "app/workers", eager_load: true
    super_paths.add "app/inputs", eager_load: true
    super_paths.add "app/mailers", eager_load: true
    super_paths.add "app/builders", eager_load: true
    super_paths
  end
end