From 0161f240058d26527316ac83c677fad569d44e7b Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Fri, 6 May 2022 15:57:43 +0200 Subject: [PATCH] oops --- app/views/admin/communication/unsplash/index.json.jbuilder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/communication/unsplash/index.json.jbuilder b/app/views/admin/communication/unsplash/index.json.jbuilder index aa8ccf158..92b97a306 100644 --- a/app/views/admin/communication/unsplash/index.json.jbuilder +++ b/app/views/admin/communication/unsplash/index.json.jbuilder @@ -1,5 +1,5 @@ -json.total = @search.total -json.total_pages = @search.total_pages +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