add table viewing page

This commit is contained in:
2018-07-21 23:57:31 +02:00
parent 26488e5883
commit e01c63cfa2
11 changed files with 223 additions and 10 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class Table extends Model
/** Active revision */
public function activeRevision()
{
return $this->hasOne(Revision::class, 'revision_id');
return $this->belongsTo(Revision::class, 'revision_id');
}
/** Proposals submitted to this table */