Closed MrDalle closed 7 years ago
Unless you're sending the $user
variable to the view in the controller, you need to pull the logged in user. To do so, use the Auth Facade via Auth::user()->id
With the help of Mario i made a new oneuicontroller and store evrything there. A bit more handy then calling Auth::user()->id
Hey!
i like to display the average landing rate also on the dashbaord. We merged oneui with vaos and its working so far but implementing
{{ \App\PIREP::where('user_id', $user->id)->avg('landingrate') }}
or other functions getting an error