diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-13 21:17:47 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-13 21:17:47 +0900 |
commit | b038bcf710b499c204dffed6ae9eb3bc92757b20 (patch) | |
tree | d4f9620ce468b2d21a8f01848e037abce850f34b /app/controllers | |
parent | 3c197e74827b99a524a70f05fb4e955a036172b5 (diff) | |
download | gitlab-ce-b038bcf710b499c204dffed6ae9eb3bc92757b20.tar.gz |
Remove trigger_schedule_attributes and factory :ci_trigger_for_trigger_schedulefix/sm/32032-remove-the-rest-of-trigger_schedule-related-codes
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/triggers_controller.rb | 3 |
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 |