summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-04 15:57:50 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-04 15:57:50 +0000
commit82679b8bdd669bbfb8b9c7189c909b2189465a35 (patch)
treec869863d978a26d4864436d91d129b635c18d564 /app/controllers/projects_controller.rb
parent5b7589664297fd066324acfb9b6eafe2ad1d432c (diff)
parentce534e9395b9c6eaaef7400547a5adc613f046a7 (diff)
downloadgitlab-ci-82679b8bdd669bbfb8b9c7189c909b2189465a35.tar.gz
Merge branch 'clean_up_settings' into 'master'
Clean up project advanced settings. Migrate from gitlab_url to path https://dev.gitlab.org/gitlab/gitlab-ci/issues/218 See merge request !90
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index dfef9bf..33cec6a 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -118,10 +118,9 @@ class ProjectsController < ApplicationController
end
def project_params
- params.require(:project).permit(:name, :path, :timeout, :token, :timeout_in_minutes,
- :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, :shared_runners_enabled,
- { jobs_attributes: [:id, :name, :build_branches, :build_tags, :tag_list, :commands, :refs, :_destroy, :job_type] })
+ params.require(:project).permit(:path, :timeout, :timeout_in_minutes, :default_ref, :always_build,
+ :polling_interval, :public, :ssh_url_to_repo, :allow_git_fetch, :skip_refs, :email_recipients,
+ :email_add_pusher, :email_only_broken_builds, :coverage_regex, :shared_runners_enabled, :token,
+ { jobs_attributes: [:id, :name, :build_branches, :build_tags, :tag_list, :commands, :refs, :_destroy, :job_type] })
end
end