Submit route, fixes in col editor

This commit is contained in:
2018-08-11 11:52:57 +02:00
parent 69dabab6cc
commit adc53cee95
5 changed files with 36 additions and 14 deletions
+2
View File
@@ -28,6 +28,7 @@ use Illuminate\Database\Eloquent\Collection;
* @property-read string $draftSessionKey
* @property-read string $draftDiscardRoute
* @property-read string $draftUpdateRoute
* @property-read string $draftSubmitRoute
* @property-read User $owner
* @property-read Table $parentTable
* @property-read Table[]|Collection $forks
@@ -141,6 +142,7 @@ class Table extends BaseModel
case 'deleteRoute': return route('table.delete', $arg);
case 'draftDiscardRoute': return route('table.draft-discard', $arg);
case 'draftUpdateRoute': return route('table.draft-update', $arg);
case 'draftSubmitRoute': return route('table.draft-submit', $arg);
}
}