Browse files

Fix query to work on postgres

  • Loading branch information...
1 parent 684cdcc commit c1776762a3319427769abc110b0bf9ae13441dd9 @pzupan committed Oct 3, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 app/controllers/admin/offers_controller.rb
View
1 app/controllers/admin/offers_controller.rb
@@ -4,7 +4,6 @@ class Admin::OffersController < Admin::BaseController
def index
@offers = Offer.pending_offers.paginate(:all,
:order => 'users.created_at, users.product_id',
- :include => [:user, :product],
:page => params[:page])
end

0 comments on commit c177676

Please sign in to comment.