show twice as many new items

This commit is contained in:
Emi Matchu 2011-08-04 10:30:00 -04:00
parent 163d74fe07
commit 5d3343bd6c

View file

@ -33,8 +33,7 @@ class ItemsController < ApplicationController
else
respond_to do |format|
format.html {
@newest_items = Item.newest.limit(9)
render
@newest_items = Item.newest.limit(18)
}
format.js { render :json => {:error => '$q required'}}
end