summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2015-01-16 12:49:50 +0100
committerJeremy <jeremy.benoist@gmail.com>2015-02-02 09:59:42 +0100
commit3cd1eda5a4f8e4ac95ebab558e8965724481dd97 (patch)
treecf8ada727c7356d5620d4f305ec6f756a8b953e5 /app
parentb4d9ceb26fc4bd9125cdbd6796a618415d8f6af7 (diff)
downloadgitlab-ce-3cd1eda5a4f8e4ac95ebab558e8965724481dd97.tar.gz
Add restrict_to_branch to service controller
And add restrict_to_branch to spec
Diffstat (limited to 'app')
-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 5b35cc90413..b3110eacc18 100644
--- a/app/controllers/projects/services_controller.rb
+++ b/app/controllers/projects/services_controller.rb
@@ -47,7 +47,7 @@ class Projects::ServicesController < Projects::ApplicationController
:room, :recipients, :project_url, :webhook,
:user_key, :device, :priority, :sound, :bamboo_url, :username, :password,
:build_key, :server, :teamcity_url, :build_type,
- :description, :issues_url, :new_issue_url
+ :description, :issues_url, :new_issue_url, :restrict_to_branch
)
end
end