- message.message_read = message_read
- if message.save
- if request.xhr?
- render :update do |page|
- page.replace "inbox-count", :partial => "message_count"
- page.replace "inbox-#{message.id}", :partial => "message_summary", :object => message
- end
- else