]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/message_controller.rb
Fix tab breakage and make key update as zoom level changes.
[rails.git] / app / controllers / message_controller.rb
index 8521d76b3f5cf326604aac6b634e84ab1b411379..52f38e9f6a1d3d4e166423b432b57ea9b6b4a7d7 100644 (file)
@@ -14,6 +14,7 @@ class MessageController < ApplicationController
    
       if @message.save
         flash[:notice] = 'Message sent'
+        Notifier::deliver_message_notification(@message)
         redirect_to :controller => 'message', :action => 'inbox', :display_name => @user.display_name
       end
     end