summaryrefslogtreecommitdiff
path: root/app/controllers/notes_controller.rb
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-17 00:07:10 +0300
committergitlabhq <m@gitlabhq.com>2011-10-17 00:07:10 +0300
commit9265de3d25715aeafd38a4ef41596dca058dc18c (patch)
treee755a2c4c0c0451c90a8bc0e75ffae1950a2f6fd /app/controllers/notes_controller.rb
parent526ad466c86e69c3447c192d8cae8da653556058 (diff)
downloadgitlab-ce-9265de3d25715aeafd38a4ef41596dca058dc18c.tar.gz
snippets are ready
Diffstat (limited to 'app/controllers/notes_controller.rb')
-rw-r--r--app/controllers/notes_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb
index d0a40eb18e4..1703c00d5e5 100644
--- a/app/controllers/notes_controller.rb
+++ b/app/controllers/notes_controller.rb
@@ -41,6 +41,8 @@ class NotesController < ApplicationController
Notify.note_commit_email(u, @note).deliver
when "Issue" then
Notify.note_issue_email(u, @note).deliver
+ when "Snippet"
+ true
else
Notify.note_wall_email(u, @note).deliver
end