Stuff
This commit is contained in:
parent
c9784e38fa
commit
5a90fddb65
1 changed files with 1 additions and 0 deletions
|
@ -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)]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue