diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-04-15 16:50:22 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-04-15 16:50:22 +0300 |
commit | 09cf3bacae3493fad610bd8ce727eb200bbf66bb (patch) | |
tree | 67d4346b24c7678982e76113f53701e3599c0551 | |
parent | 43b7ac74b2a34ac43cbfe65cf9232e7b80b317e3 (diff) | |
download | gitlab-ci-09cf3bacae3493fad610bd8ce727eb200bbf66bb.tar.gz |
job deletion fix
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index fa5fe7e..aee95b0 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -116,7 +116,7 @@ class ProjectsController < ApplicationController :default_ref, :gitlab_url, :always_build, :polling_interval, :public, :ssh_url_to_repo, :gitlab_id, :allow_git_fetch, :skip_refs, :email_recipients, :email_add_pusher, :email_only_broken_builds, :coverage_regex, - {jobs_attributes: [:name, :build_branches, :build_tags, :tag_list, :commands, :refs]}, + {jobs_attributes: [:id, :name, :build_branches, :build_tags, :tag_list, :commands, :refs, :_destroy]}, :shared_runners_enabled) end end |