summaryrefslogtreecommitdiff
path: root/app/controllers/projects
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-25 14:29:49 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-25 14:29:49 +0100
commit85af3e82bfe0ebd01e816ee7c5ee6a2c28ce8ff9 (patch)
tree9785baef8d54dbea21aceb18803ae9706cd63ae8 /app/controllers/projects
parente0c186c35735a2dc9e05e88ad9975ae016c815d9 (diff)
downloadgitlab-ce-85af3e82bfe0ebd01e816ee7c5ee6a2c28ce8ff9.tar.gz
Add option to disable code diffs to EmailOnPush.
See #1950
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/services_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/services_controller.rb b/app/controllers/projects/services_controller.rb
index dd3987605e3..b7fd5202f95 100644
--- a/app/controllers/projects/services_controller.rb
+++ b/app/controllers/projects/services_controller.rb
@@ -51,7 +51,7 @@ class Projects::ServicesController < Projects::ApplicationController
:user_key, :device, :priority, :sound, :bamboo_url, :username, :password,
:build_key, :server, :teamcity_url, :build_type,
:description, :issues_url, :new_issue_url, :restrict_to_branch,
- :send_from_committer_email
+ :send_from_committer_email, :disable_diffs
)
end
end