summaryrefslogtreecommitdiff
path: root/app/services/notes
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-08-12 20:20:51 -0500
committerDouwe Maan <douwe@selenight.nl>2016-08-12 20:20:51 -0500
commit463ae8f570f986d9f50ae42067715d6db0dc1541 (patch)
tree5c8c70d7ddd71d2b2c5441814247c4042cf830a4 /app/services/notes
parent0afb96015034307f49d6b28da2c9a4143352ac97 (diff)
downloadgitlab-ce-463ae8f570f986d9f50ae42067715d6db0dc1541.tar.gz
Force notes poll after commands have been executed
Diffstat (limited to 'app/services/notes')
-rw-r--r--app/services/notes/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notes/create_service.rb b/app/services/notes/create_service.rb
index f7cf4a8edc0..e9f37e04993 100644
--- a/app/services/notes/create_service.rb
+++ b/app/services/notes/create_service.rb
@@ -28,7 +28,7 @@ module Notes
# We must add the error after we call #save because errors are reset
# when #save is called
if slash_commands_service.execute(command_params, note) && note.note.blank?
- note.errors.add(:commands_only, 'Your commands are being executed.')
+ note.errors.add(:commands_only, 'Your commands have been executed!')
end
note