4955a47cb1
Instead of redirecting from the project service to the service and back to the model, put all destruction code in the service. Also removes a possible source of failure where run_after_commit may not destroy the project. |
||
---|---|---|
.. | ||
import_export | ||
autocomplete_service.rb | ||
create_service.rb | ||
destroy_service.rb | ||
download_service.rb | ||
enable_deploy_key_service.rb | ||
fork_service.rb | ||
housekeeping_service.rb | ||
import_service.rb | ||
participants_service.rb | ||
transfer_service.rb | ||
unlink_fork_service.rb | ||
update_service.rb | ||
upload_service.rb |