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:
authorShinya Maeda <shinya@gitlab.com>2017-07-13 15:17:47 +0300
committerShinya Maeda <shinya@gitlab.com>2017-07-13 15:17:47 +0300
commitb038bcf710b499c204dffed6ae9eb3bc92757b20 (patch)
treed4f9620ce468b2d21a8f01848e037abce850f34b /app/controllers/projects
parent3c197e74827b99a524a70f05fb4e955a036172b5 (diff)
Remove trigger_schedule_attributes and factory :ci_trigger_for_trigger_schedule
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/triggers_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/projects/triggers_controller.rb b/app/controllers/projects/triggers_controller.rb
index a5b17fa65ea..e04145dd0b3 100644
--- a/app/controllers/projects/triggers_controller.rb
+++ b/app/controllers/projects/triggers_controller.rb
@@ -69,8 +69,7 @@ class Projects::TriggersController < Projects::ApplicationController
def trigger_params
params.require(:trigger).permit(
- :description,
- trigger_schedule_attributes: [:id, :active, :cron, :cron_timezone, :ref]
+ :description
)
end
end