Show fewer images in package list view to reduce amount of data.
This commit is contained in:
parent
ed51f7fae8
commit
4ff64ab146
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class PackagesController < ApplicationController
|
||||||
|
|
||||||
def list
|
def list
|
||||||
index
|
index
|
||||||
@packages = @packages.paginate(page: params[:page], per_page: 12)
|
@packages = @packages.paginate(page: params[:page], per_page: 6)
|
||||||
render 'packages/index-list.slim'
|
render 'packages/index-list.slim'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue