]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/diary_entry_controller.rb
Remove export controller from branches where it isn't needed yet.
[rails.git] / app / controllers / diary_entry_controller.rb
index 13d3121a5eef32de418f4beada6a907df5570428..643728dc44a7408efb52944d03d4441947f0ec41 100644 (file)
@@ -20,6 +20,7 @@ class DiaryEntryController < ApplicationController
     @diary_comment = @entry.diary_comments.build(params[:diary_comment])
     @diary_comment.user = @user
     if @diary_comment.save
+      Notifier::deliver_diary_comment_notification(@diary_comment)
       redirect_to :controller => 'diary_entry', :action => 'view', :display_name => @entry.user.display_name, :id => @entry.id
     else
       render :action => 'view'