This commit is contained in:
daniel committed 2013-09-08 02:08:27 +02:00
1 parent 6d715e4090
commit 5cb555e869
15 files changed
+1358 -5

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
<?php
class Vote extends Eloquent {
protected $table = "votes";
public function film() {
return $this->belongsTo('Film', 'film');
}
public function user() {
return $this->belongsTo('User', 'user');
}
}