From 9a4c210d168c75d204bf7ae7f869709ad222567c Mon Sep 17 00:00:00 2001 From: cxt Date: Thu, 21 Jul 2016 10:55:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E6=96=87=E7=AB=A0=E7=9A=84?= =?UTF-8?q?=E2=80=9C=E7=82=B9=E5=87=BB=E5=B1=95=E5=BC=80=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E6=A5=BC=E5=B1=82=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 7b7ac8e39..cf703afa7 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -94,7 +94,7 @@ class UsersController < ApplicationController @comment = Message.find params[:comment].to_i when 'BlogComment' @comment = BlogComment.find params[:comment].to_i - when 'BlogComment' + when 'OrgDocumentComment' @comment = OrgDocumentComment.find params[:comment].to_i when 'Comment' @comment = Comment.find params[:comment].to_i