From dbe4c263224a5c727e29e0c39e781c5e123fd970 Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Tue, 29 Apr 2014 14:40:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=88=97=E8=A1=A8=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/softapplications_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/softapplications_controller.rb b/app/controllers/softapplications_controller.rb index 3d6a23a30..e9d21ddc4 100644 --- a/app/controllers/softapplications_controller.rb +++ b/app/controllers/softapplications_controller.rb @@ -7,8 +7,9 @@ class SoftapplicationsController < ApplicationController # GET /softapplications.json def index @softapplications = Softapplication.all + + #new added fenyefunction @limit = 5 - #new added @softapplication_count = @softapplications.count @softapplication_pages = Paginator.new @softapplication_count, @limit, params['page'] @offset ||= @softapplication_pages.offset