This commit is contained in:
2015-10-21 15:19:35 +02:00
parent 4f8a382b51
commit 0b4efeb2ed
7 changed files with 622 additions and 412 deletions

View File

@@ -3,7 +3,7 @@
class Vote extends Eloquent {
protected $table = "votes";
public function film() {
public function oFilm() {
return $this->belongsTo('Film', 'film');
}