From 6f77aa2db4ef84a9a7adf7631e1988b7bf798e34 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Fri, 6 May 2022 15:57:26 +0200 Subject: [PATCH] pages --- app/views/admin/communication/unsplash/index.json.jbuilder | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/admin/communication/unsplash/index.json.jbuilder b/app/views/admin/communication/unsplash/index.json.jbuilder index 97c301426..aa8ccf158 100644 --- a/app/views/admin/communication/unsplash/index.json.jbuilder +++ b/app/views/admin/communication/unsplash/index.json.jbuilder @@ -1,4 +1,5 @@ json.total = @search.total +json.total_pages = @search.total_pages json.results @search do |photo| json.partial! 'admin/communication/unsplash/photo', photo: photo end -- GitLab