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:
authorDouwe Maan <douwe@selenight.nl>2016-11-24 09:32:32 +0300
committerDouwe Maan <douwe@selenight.nl>2016-11-24 09:32:32 +0300
commitba5e98bb701672d0cf1d98a80272c16a754ec83c (patch)
tree89a691e8b71ced5aa59f856a34c584b4a9394382 /app/controllers/projects/notes_controller.rb
parentd0c0c75ca9568bc3ec00c341a6053623d85e6201 (diff)
Backport Note#commands_changes from EE
Diffstat (limited to 'app/controllers/projects/notes_controller.rb')
-rw-r--r--app/controllers/projects/notes_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/notes_controller.rb b/app/controllers/projects/notes_controller.rb
index f029fde2a2f..15ca080c696 100644
--- a/app/controllers/projects/notes_controller.rb
+++ b/app/controllers/projects/notes_controller.rb
@@ -197,6 +197,7 @@ class Projects::NotesController < Projects::ApplicationController
)
end
+ attrs[:commands_changes] = note.commands_changes unless attrs[:award]
attrs
end