updates
This commit is contained in:
1 parent
6d715e4090
commit
5cb555e869
15 files changed
+1358
-5
No files matched your search
@@ -49,4 +49,16 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
|
||||
return $this->email;
|
||||
}
|
||||
|
||||
|
||||
public function films() {
|
||||
return $this->hasMany('Film', 'user');
|
||||
}
|
||||
|
||||
public function comments() {
|
||||
return $this->hasMany('Comment', 'user');
|
||||
}
|
||||
|
||||
public function votes() {
|
||||
return $this->hasMany('Vote', 'user');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user