Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-01-21 03:47:29 +0300
committerMarin Jankovski <maxlazio@gmail.com>2015-01-21 03:47:29 +0300
commit62c00661c43334f8e2bbed508d9517529dbee7e0 (patch)
tree469f5ff1310df0ed2471a22725ad9f01eb1f6ba8 /app/controllers/projects/services_controller.rb
parent9371c6b90136547e3622622510af9894fc27aeb0 (diff)
Allow creation of the jira and redmine services.
Diffstat (limited to 'app/controllers/projects/services_controller.rb')
-rw-r--r--app/controllers/projects/services_controller.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/controllers/projects/services_controller.rb b/app/controllers/projects/services_controller.rb
index b2ce99aeb45..15f47ed9c9f 100644
--- a/app/controllers/projects/services_controller.rb
+++ b/app/controllers/projects/services_controller.rb
@@ -17,7 +17,8 @@ class Projects::ServicesController < Projects::ApplicationController
def update
if @service.update_attributes(service_params)
- redirect_to edit_project_service_path(@project, @service.to_param)
+ redirect_to edit_project_service_path(@project, @service.to_param),
+ notice: 'Successfully updated.'
else
render 'edit'
end
@@ -41,7 +42,8 @@ class Projects::ServicesController < Projects::ApplicationController
:title, :token, :type, :active, :api_key, :subdomain,
:room, :recipients, :project_url, :webhook,
:user_key, :device, :priority, :sound, :bamboo_url, :username, :password,
- :build_key, :server, :teamcity_url, :build_type
+ :build_key, :server, :teamcity_url, :build_type,
+ :description, :issues_url, :new_issue_url
)
end
end