From aeab51ffa527722c80c1025ca901dfd5ec39f8e3 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 20:44:08 +0000 Subject: [PATCH] feat: Updated app/controllers/summarys/shop_contro --- app/controllers/summarys/shop_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/summarys/shop_controller.rb b/app/controllers/summarys/shop_controller.rb index a653c3e..9550ad0 100644 --- a/app/controllers/summarys/shop_controller.rb +++ b/app/controllers/summarys/shop_controller.rb @@ -2,7 +2,7 @@ class Summarys::ShopController < SummarysController def index @selected_app = summary_params[:selected_app] @page = params[:page] || 1 - @per_page = params[:per_page] || Summary::Shop::TOP_SHOPS_LIMIT + @per_page = Summary::Shop::TOP_SHOPS_LIMIT @summaries = Summary::Shop.new(user: current_user, selected_app: @selected_app).summarize(page: @page.to_i, per_page: @per_page.to_i) render "summarys/index"