v0.11.0
This commit is contained in:
commit
1c8a903f24
306 files changed
+22212
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace IriksIT\Manager\Modules\Reviews;
|
||||
|
||||
use IriksIT\Manager\Models\Review;
|
||||
|
||||
class ReviewsController
|
||||
{
|
||||
/** First opzet: lists the records as JSON. The screens come with the frontend. */
|
||||
public function index()
|
||||
{
|
||||
return response()->json(Review::query()->latest()->paginate(25));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user