Fix replying to diary comments, and tidy a few things up.
[rails.git] / app / controllers / message_controller.rb
index 0fec8aab1cb00225d67ef62df671fe44e52f1f69..e79fe7461c72a8d42efd4541a873a1dcfe84e7d4 100644 (file)
@@ -17,6 +17,8 @@ class MessageController < ApplicationController
         Notifier::deliver_message_notification(@message)
         redirect_to :controller => 'message', :action => 'inbox', :display_name => @user.display_name
       end
+    else
+      @title = params[:title]
     end
   end