diff options
| author | mo k <mo@mokhan.ca> | 2012-11-08 06:57:39 -0700 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-11-08 06:57:39 -0700 |
| commit | da89676760e1045f2e36dd3defb955e2f383e87f (patch) | |
| tree | 7a552fe4823ebe9df8b4a9592fc2c95ff1fe14e3 /config/application.rb | |
| parent | 17c2a742d6530411996d49d6590fbd887d058655 (diff) | |
rearrage services directory and rails load paths.
Diffstat (limited to 'config/application.rb')
| -rw-r--r-- | config/application.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index 5ef98155..242d008e 100644 --- a/config/application.rb +++ b/config/application.rb @@ -16,8 +16,11 @@ module Cake # -- all .rb files in that directory are automatically loaded. # Custom directories with classes and modules you want to be autoloadable. - #config.autoload_paths += %W(#{config.root}/app/services) config.autoload_paths += %W(#{config.root}/app/services) + config.autoload_paths += %W(#{config.root}/app/services/commands) + config.autoload_paths += %W(#{config.root}/app/services/dto) + config.autoload_paths += %W(#{config.root}/app/services/mappers) + config.autoload_paths += %W(#{config.root}/app/services/queries) # Only load the plugins named here, in the order given (default is alphabetical). # :all can be used as a placeholder for all plugins not explicitly named. |
