src/lib/Http/Controllers/AdminController.php
public function getMessages()
    {
        $table = new AdminMessages(Message::query());

        $table->with(['recipient', 'sender']);

        if (mustard_loaded('feedback')) {
            $table->with(['recipient.feedbackReceived', 'sender.feedbackReceived']);
        }

        return view('mustard::admin.messages', [
            'table'    => $table,
            'messages' => $table->paginate(),
        ]);
    }
public function getMessages()
    {
        $table = new AdminMessages(Message::query());

        $table->with(['recipient', 'sender']);

        if (mustard_loaded('feedback')) {
            $table->with(['recipient.feedbackReceived', 'sender.feedbackReceived']);
        }

        return view('mustard::admin.messages', [
            'table'    => $table,
            'messages' => $table->paginate(),
        ]);
    }
Return the admin messages view.

@return \Illuminate\View\View