Skip to content

Commit

Permalink
Limiting item retrieval on wires controller page.
Browse files Browse the repository at this point in the history
  • Loading branch information
futurechimp committed Jun 11, 2011
1 parent c9e6dc0 commit 81c3435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/wires.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
get :show, :with => :id do
@wire = Wire.find(params[:id])
@wires = Wire.all.order_by([:name, :asc])
@feed_items = @wire.feed_items
@feed_items = @wire.feed_items.limit(60)
render 'home/index'
end

Expand Down

0 comments on commit 81c3435

Please sign in to comment.