diff --git a/app/assets/stylesheets/components/catalog/_catalog.scss b/app/assets/stylesheets/components/catalog/_catalog.scss index cafffcb..5d36f3b 100644 --- a/app/assets/stylesheets/components/catalog/_catalog.scss +++ b/app/assets/stylesheets/components/catalog/_catalog.scss @@ -41,3 +41,6 @@ } } +.pagination { + display: block !important; +} diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index c19609e..4de71f0 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -4,7 +4,7 @@ class UsersController < ApplicationController def show @user = User.find(params[:id]) - @products = @user.products.page(params[:page]).per(4).order('created_at DESC') + @products = @user.products.page(params[:page]).per(6).order('created_at DESC') end def dashboard