Skip to content

Commit c5566de

Browse files
authored
Merge pull request #24 from relliv/master
Fix relation bug
2 parents b15c792 + 1240580 commit c5566de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/City.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ public function country()
2929

3030
public function districts()
3131
{
32-
return $this->hasMany(CityDistrict::class);
32+
return $this->hasMany(District::class);
3333
}
3434
}

0 commit comments

Comments
 (0)