Fix thinko.
authorTom Hughes <tom@compton.nu>
Wed, 22 Aug 2007 07:40:23 +0000 (07:40 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 22 Aug 2007 07:40:23 +0000 (07:40 +0000)
app/controllers/message_controller.rb

index d8689c28a0fe7b2925929dcd5abb2bff9c32659e..f52274cd06e2c5dad64e2bfdb0a8c2234d0afe0f 100644 (file)
@@ -33,7 +33,7 @@ class MessageController < ApplicationController
     @message.message_read = 1
     @message.save
   rescue ActiveRecord::RecordNotFound
-    render :none, :status => :not_found
+    render :nothing => true, :status => :not_found
   end
 
   def inbox