added a revisions page

This commit is contained in:
2018-08-16 21:17:32 +02:00
parent a69c3e6cf6
commit 34e432fe87
11 changed files with 154 additions and 35 deletions
+2
View File
@@ -29,6 +29,7 @@ use Illuminate\Database\Eloquent\Collection;
* @property-read string $draftDiscardRoute
* @property-read string $draftUpdateRoute
* @property-read string $draftSubmitRoute
* @property-read string $revisionsRoute
* @property-read User $owner
* @property-read Table $parentTable
* @property-read Table[]|Collection $forks
@@ -143,6 +144,7 @@ class Table extends BaseModel
case 'draftDiscardRoute': return route('table.draft-discard', $arg);
case 'draftUpdateRoute': return route('table.draft-update', $arg);
case 'draftSubmitRoute': return route('table.draft-submit', $arg);
case 'revisionsRoute': return route('table.revisions', $arg);
}
}