mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 10:08:31 -05:00
update: queries
This commit is contained in:
@@ -46,9 +46,9 @@ class ModerationController extends Controller
|
||||
public function index()
|
||||
{
|
||||
$current = Carbon::now();
|
||||
$pending = Torrent::with(['user', 'category'])->pending()->get();
|
||||
$postponed = Torrent::with(['user', 'category'])->postponed()->get();
|
||||
$rejected = Torrent::with(['user', 'category'])->rejected()->get();
|
||||
$pending = Torrent::with(['user', 'category', 'type'])->pending()->get();
|
||||
$postponed = Torrent::with(['user', 'category', 'type'])->postponed()->get();
|
||||
$rejected = Torrent::with(['user', 'category', 'type'])->rejected()->get();
|
||||
|
||||
return view('Staff.moderation.index', [
|
||||
'current' => $current,
|
||||
|
||||
Reference in New Issue
Block a user