diff options
| author | Shinya Maeda <shinya@gitlab.com> | 2017-06-23 03:57:13 +0900 |
|---|---|---|
| committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-05 18:36:18 +0900 |
| commit | 58d8b9ae62813cb69821a4e0e41c914aee7e323a (patch) | |
| tree | 1e6f4a9d3b911679e5236d48554b4e6b95ef8ed8 /app/controllers | |
| parent | d278da48f837292491aaf81649afef1da3a1eb09 (diff) | |
| download | gitlab-ce-58d8b9ae62813cb69821a4e0e41c914aee7e323a.tar.gz | |
Controller logic. Delete before modification. Halfway.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/projects/pipeline_schedules_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/projects/pipeline_schedules_controller.rb b/app/controllers/projects/pipeline_schedules_controller.rb index 60db179277b..fdbf930a5ef 100644 --- a/app/controllers/projects/pipeline_schedules_controller.rb +++ b/app/controllers/projects/pipeline_schedules_controller.rb @@ -66,6 +66,7 @@ class Projects::PipelineSchedulesController < Projects::ApplicationController def schedule_params params.require(:schedule) - .permit(:description, :cron, :cron_timezone, :ref, :active) + .permit(:description, :cron, :cron_timezone, :ref, :active, + variables_attributes: [:key, :value] ) end end |
