Add comments to Wiki pages

This commit is contained in:
Ian Morgan 2012-07-19 20:09:19 -04:00
parent 652d28f56b
commit 36efa2042c
10 changed files with 72 additions and 1 deletions

View file

@ -34,6 +34,7 @@ class MailerObserver < ActiveRecord::Observer
case note.noteable_type
when "Commit"; Notify.note_commit_email(u.id, note.id).deliver
when "Issue"; Notify.note_issue_email(u.id, note.id).deliver
when "Wiki"; Notify.note_wiki_email(u.id, note.id).deliver
when "MergeRequest"; Notify.note_merge_request_email(u.id, note.id).deliver
when "Snippet"; true
else