snippets are ready

This commit is contained in:
gitlabhq 2011-10-17 00:07:10 +03:00
parent 526ad466c8
commit 9265de3d25
28 changed files with 366 additions and 8 deletions

View file

@ -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