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)]); }