Autoloads app/services
This commit is contained in:
@@ -24,5 +24,8 @@ module Participacion
|
||||
|
||||
# Do not swallow errors in after_commit/after_rollback callbacks.
|
||||
config.active_record.raise_in_transactional_callbacks = true
|
||||
|
||||
# Add services to the autoload path
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'services')]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user