+Bewertungen, Meistgewünschter Film, Sortierung nach Votes

This commit is contained in:
daniel committed 2013-09-27 04:06:12 +02:00
1 parent 521ecc46c1
commit fb74d68046
11 files changed
+264 -20

No files matched your search

+4
View File
@@ -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');
}
}