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 else
respond_to do |format| respond_to do |format|
format.html { format.html {
@newest_items = Item.newest.limit(9) @newest_items = Item.newest.limit(18)
render
} }
format.js { render :json => {:error => '$q required'}} format.js { render :json => {:error => '$q required'}}
end end