Skip to content

Commit

Permalink
تعديل
Browse files Browse the repository at this point in the history
  • Loading branch information
hmdee committed Nov 30, 2024
1 parent 64f6ba6 commit ca328e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/CountryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CountryController extends Controller
public function index()
{
// TASK: load the relationship average of team size
$countries = Country::withAvg('teams', 'size ')->get();
$countries = Country::withAvg('teams', 'size')->get();


return view('countries.index', compact('countries'));
Expand Down

0 comments on commit ca328e4

Please sign in to comment.