From fe06ca503a976c22aff31db041b480d72bcc16e9 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Tue, 27 Jan 2015 09:55:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0poll=20colsed=5Fat=E7=9A=84?= =?UTF-8?q?=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/poll_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/poll_controller.rb b/app/controllers/poll_controller.rb index d49694e6f..394c52f13 100644 --- a/app/controllers/poll_controller.rb +++ b/app/controllers/poll_controller.rb @@ -342,6 +342,7 @@ class PollController < ApplicationController #关闭问卷 def close_poll @poll.polls_status = 3 + @poll.closed_at = Time.now if @poll.save respond_to do |format| format.js