Open krekas opened 1 year ago
This line
https://github.com/danielveselinov/BrainsterProjects_DanielVeselinovWD6/blob/project03/app/Http/Controllers/ProjectController.php#L21
Again, relations should be used. Better write:
Auth::user()->projects()->latest()->get();
This line
https://github.com/danielveselinov/BrainsterProjects_DanielVeselinovWD6/blob/project03/app/Http/Controllers/ProjectController.php#L21
Again, relations should be used. Better write: