|
|
@ -28,6 +28,7 @@ use Illuminate\Database\Eloquent\Collection; |
|
|
|
* @property-read string $draftSessionKey |
|
|
|
* @property-read string $draftSessionKey |
|
|
|
* @property-read string $draftDiscardRoute |
|
|
|
* @property-read string $draftDiscardRoute |
|
|
|
* @property-read string $draftUpdateRoute |
|
|
|
* @property-read string $draftUpdateRoute |
|
|
|
|
|
|
|
* @property-read string $draftSubmitRoute |
|
|
|
* @property-read User $owner |
|
|
|
* @property-read User $owner |
|
|
|
* @property-read Table $parentTable |
|
|
|
* @property-read Table $parentTable |
|
|
|
* @property-read Table[]|Collection $forks |
|
|
|
* @property-read Table[]|Collection $forks |
|
|
@ -141,6 +142,7 @@ class Table extends BaseModel |
|
|
|
case 'deleteRoute': return route('table.delete', $arg); |
|
|
|
case 'deleteRoute': return route('table.delete', $arg); |
|
|
|
case 'draftDiscardRoute': return route('table.draft-discard', $arg); |
|
|
|
case 'draftDiscardRoute': return route('table.draft-discard', $arg); |
|
|
|
case 'draftUpdateRoute': return route('table.draft-update', $arg); |
|
|
|
case 'draftUpdateRoute': return route('table.draft-update', $arg); |
|
|
|
|
|
|
|
case 'draftSubmitRoute': return route('table.draft-submit', $arg); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|