• Vinnie Okada's avatar
    Add option to keep repo on project delete · 68b5ac7f
    Vinnie Okada authored
    Update the project API controller to use `Projects::DestroyService`
    instead of calling `Project#destroy` directly.
    
    Also add an optional parameter, `:keep_repo`, that allows a project to
    be deleted without deleting the repository, wiki, and satellite from
    disk.
    68b5ac7f
projects_controller.rb 5.59 KB