+Bewertungen, Meistgewünschter Film, Sortierung nach Votes
This commit is contained in:
@@ -63,4 +63,8 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
|
||||
public function votes() {
|
||||
return $this->hasMany('Vote', 'user');
|
||||
}
|
||||
|
||||
public function news() {
|
||||
return $this->hasMany('News', 'author');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user