table deleting

This commit is contained in:
2018-07-29 19:11:55 +02:00
parent 8ff10904ce
commit 3bf9b68503
9 changed files with 67 additions and 5 deletions
+4
View File
@@ -131,6 +131,10 @@ class Table extends BaseModel
return route('table.conf', ['user' => $this->cachedOwner()->name, 'table' => $this->name]);
}
if ($name == 'deleteRoute') {
return route('table.delete', ['user' => $this->cachedOwner()->name, 'table' => $this->name]);
}
return parent::__get($name);
}