diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-13 15:17:47 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-13 15:17:47 +0300 |
commit | b038bcf710b499c204dffed6ae9eb3bc92757b20 (patch) | |
tree | d4f9620ce468b2d21a8f01848e037abce850f34b /app | |
parent | 3c197e74827b99a524a70f05fb4e955a036172b5 (diff) |
Remove trigger_schedule_attributes and factory :ci_trigger_for_trigger_schedule
Diffstat (limited to 'app')
-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 |