From 155d48b7cb6ba68f3043e7ed176f765c443b0617 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Sat, 17 Jan 2015 14:41:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E5=8D=B7=E5=88=97=E8=A1=A8=E6=AF=8F?= =?UTF-8?q?=E9=A1=B5=E6=98=BE=E7=A4=BA20=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/poll_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/poll_controller.rb b/app/controllers/poll_controller.rb index 8385b0fde..739adfe1c 100644 --- a/app/controllers/poll_controller.rb +++ b/app/controllers/poll_controller.rb @@ -12,7 +12,7 @@ class PollController < ApplicationController else polls = Poll.where("polls_type = 'Course' and polls_group_id = #{@course.id} and polls_status = 2") end - @polls = paginateHelper polls,10 #分页 + @polls = paginateHelper polls,20 #分页 respond_to do |format| format.html{render :layout => 'base_courses'} end