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 | |
| parent | 17c2a742d6530411996d49d6590fbd887d058655 (diff) | |
rearrage services directory and rails load paths.
| -rw-r--r-- | app/services/commands/comment_on_creation_command.rb (renamed from app/services/comment_on_creation_command.rb) | 0 | ||||
| -rw-r--r-- | app/services/dto/display_creation_dto.rb (renamed from app/services/display_creation_dto.rb) | 0 | ||||
| -rw-r--r-- | app/services/mappers/creation_to_display_creation_dto_mapper.rb (renamed from app/services/creation_to_display_creation_dto_mapper.rb) | 0 | ||||
| -rw-r--r-- | app/services/queries/find_all_creations_query.rb (renamed from app/services/find_all_creations_query.rb) | 0 | ||||
| -rw-r--r-- | config/application.rb | 5 |
5 files changed, 4 insertions, 1 deletions
diff --git a/app/services/comment_on_creation_command.rb b/app/services/commands/comment_on_creation_command.rb index 470ba2ff..470ba2ff 100644 --- a/app/services/comment_on_creation_command.rb +++ b/app/services/commands/comment_on_creation_command.rb diff --git a/app/services/display_creation_dto.rb b/app/services/dto/display_creation_dto.rb index f4f9239a..f4f9239a 100644 --- a/app/services/display_creation_dto.rb +++ b/app/services/dto/display_creation_dto.rb diff --git a/app/services/creation_to_display_creation_dto_mapper.rb b/app/services/mappers/creation_to_display_creation_dto_mapper.rb index 3aef401f..3aef401f 100644 --- a/app/services/creation_to_display_creation_dto_mapper.rb +++ b/app/services/mappers/creation_to_display_creation_dto_mapper.rb diff --git a/app/services/find_all_creations_query.rb b/app/services/queries/find_all_creations_query.rb index f60580f7..f60580f7 100644 --- a/app/services/find_all_creations_query.rb +++ b/app/services/queries/find_all_creations_query.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. |
