From da89676760e1045f2e36dd3defb955e2f383e87f Mon Sep 17 00:00:00 2001 From: mo k Date: Thu, 8 Nov 2012 06:57:39 -0700 Subject: rearrage services directory and rails load paths. --- config/application.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/application.rb') 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. -- cgit v1.2.3