Fix thinko.
This commit is contained in:
parent
8b62df8b9c
commit
30c20855e3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue