forked from OpenNeo/impress
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
|
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
|
||||||
|
|
Loading…
Reference in a new issue