From 9265de3d25715aeafd38a4ef41596dca058dc18c Mon Sep 17 00:00:00 2001 From: gitlabhq Date: Mon, 17 Oct 2011 00:07:10 +0300 Subject: snippets are ready --- app/controllers/notes_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/notes_controller.rb') 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 -- cgit v1.2.1