Stuff
This commit is contained in:
parent
958f54b9bd
commit
4e10e787da
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue