From 52dcc6d1a1f2ce8f232e83e211851718710c1247 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Tue, 29 Jul 2014 09:16:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A8=E8=AE=BA=E5=8C=BA=E5=B8=96=E5=AD=90?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=9E=E5=A4=8D=E6=97=B6=EF=BC=8C=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E4=BF=AE=E6=94=B9=E5=B8=96=E5=AD=90=E7=9A=84=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=97=B6=E9=97=B4=E3=80=82=E9=A1=B9=E7=9B=AE=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E5=8A=A8=E6=80=81=E5=8F=AA=E6=98=BE=E7=A4=BA=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E5=9B=9E=E5=A4=8D=EF=BC=8C=E4=B8=8D=E5=B0=86?= =?UTF-8?q?=E5=B8=96=E5=AD=90=E5=88=9B=E5=BB=BA=E9=87=8D=E5=A4=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/messages_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index e974936eb..373178933 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -85,7 +85,7 @@ class MessagesController < ApplicationController @reply.board = @board @reply.safe_attributes = params[:reply] @topic.children << @reply - @topic.update_attribute(:updated_on, Time.now) + #@topic.update_attribute(:updated_on, Time.now) if !@reply.new_record? call_hook(:controller_messages_reply_after_save, { :params => params, :message => @reply}) attachments = Attachment.attach_files(@reply, params[:attachments])