123456789101112131415161718 |
- <?php
- namespace App\Http\Controllers;
- class ShowDomainController extends Controller
- {
- public function index()
- {
- return view('domains.index', [
- 'domains' => user()
- ->domains()
- ->with('defaultRecipient:id,email')
- ->withCount('aliases')
- ->latest()
- ->get()
- ]);
- }
- }
|