I have a page where it will display a listing of plans for the current authenticated user, the question I have is regarding best practice. I have an
AdController with an
index method that will list every
subscriptions an user has. The thing is, in the blade template I could easily do something like
@foreach(auth()->user()->subscriptions as $subscription) but I was wondering if it's a good practice or it's better to pass this information from the controller itself.