From a0c6a183fe32e2ce1e071acc81ae8dfec4fb4767 Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Thu, 10 Oct 2013 16:04:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E7=9A=84=E5=85=B3=E6=B3=A8=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E9=87=8C=E9=9D=A2=E5=8F=AA=E6=98=BE=E7=A4=BA=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 7d9098095..62f9591ed 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -78,6 +78,7 @@ class UsersController < ApplicationController ##added by fq def watch_bids @bids = Bid.watched_by(@user) + @bids = Bid.visible.where('reward_type = ?', 1) @offset, @limit = api_offset_and_limit({:limit => 10}) @bid_count = @bids.count @bid_pages = Paginator.new @bid_count, @limit, params['page']