This commit is contained in:
Kekskurse 2021-02-08 01:28:54 +01:00
parent c9784e38fa
commit 5a90fddb65

View file

@ -46,6 +46,7 @@ class PublicController extends BaseController
"total" => $g->count(), "total" => $g->count(),
"items_per_page" => 10, "items_per_page" => 10,
"pages" => ($g->count() / 10), "pages" => ($g->count() / 10),
"preview" => url("/".$tenant->url.".json?page=".($page-1)),
"next" => url("/".$tenant->url.".json?page=".($page+1))], "next" => url("/".$tenant->url.".json?page=".($page+1))],
"data" => \App\Http\Resources\Gallery::collection($r)]); "data" => \App\Http\Resources\Gallery::collection($r)]);
} }