refactor: manage page titles with blade sections
This commit is contained in:
@@ -25,7 +25,7 @@ class FavoriteController extends Controller
|
||||
'flight.airport.city',
|
||||
])
|
||||
->orderByDesc('created_at')
|
||||
->get();
|
||||
->paginate(3);
|
||||
return view('account.favorite-list', compact('title','favorites'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user