Commit e74ec3c95a68ccdedfcf5a292bee44a4ec043bdb

Authored by Dmitriy Zaporozhets
1 parent fbba1760

merge requests v1.0

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/controllers/notes_controller.rb
@@ -42,6 +42,8 @@ class NotesController < ApplicationController @@ -42,6 +42,8 @@ class NotesController < ApplicationController
42 Notify.note_commit_email(u, @note).deliver 42 Notify.note_commit_email(u, @note).deliver
43 when "Issue" then 43 when "Issue" then
44 Notify.note_issue_email(u, @note).deliver 44 Notify.note_issue_email(u, @note).deliver
  45 + when "MergeRequest"
  46 + true # someone should write email notification
45 when "Snippet" 47 when "Snippet"
46 true 48 true
47 else 49 else