show twice as many new items
This commit is contained in:
parent
163d74fe07
commit
5d3343bd6c
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue