This commit is contained in:
Kekskurse 2021-02-08 01:39:07 +01:00
parent 958f54b9bd
commit 4e10e787da

View file

@ -50,7 +50,7 @@ class PublicController extends BaseController
}
if($page >= ($g->count() / 10)) {
$next = url("/".$tenant->url.".json?page=".($page+1))];
$next = url("/".$tenant->url.".json?page=".($page+1));
}
return response()->json(["pagination" => [
@ -58,7 +58,7 @@ class PublicController extends BaseController
"items_per_page" => 10,
"pages" => ($g->count() / 10),
"preview" => $preview,
"next" => $next,
"next" => $next],
"data" => \App\Http\Resources\Gallery::collection($r)]);
}
public function listGalleriesView($name, Request $request) {