From 5a90fddb65d963dff47fea967f94288366b94ff0 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Mon, 8 Feb 2021 01:28:54 +0100 Subject: [PATCH] Stuff --- app/Http/Controllers/PublicController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/PublicController.php b/app/Http/Controllers/PublicController.php index 7e99f2f..f0b7bf8 100644 --- a/app/Http/Controllers/PublicController.php +++ b/app/Http/Controllers/PublicController.php @@ -46,6 +46,7 @@ class PublicController extends BaseController "total" => $g->count(), "items_per_page" => 10, "pages" => ($g->count() / 10), + "preview" => url("/".$tenant->url.".json?page=".($page-1)), "next" => url("/".$tenant->url.".json?page=".($page+1))], "data" => \App\Http\Resources\Gallery::collection($r)]); }