FEATURE: add module id into contents table
This commit is contained in:
@@ -47,6 +47,7 @@ class CopyTemplate extends Controller
|
||||
'template_name' => $newName,
|
||||
'name' => $newName,
|
||||
'path' => $template->path,
|
||||
'module_id' => $template->module_id,
|
||||
'description' => $template->description,
|
||||
'editable' => 1
|
||||
]);
|
||||
|
||||
@@ -12,6 +12,7 @@ class Template extends Model
|
||||
public $timestamps = true;
|
||||
protected $fillable = [
|
||||
'template_name',
|
||||
'module_id',
|
||||
'name',
|
||||
'path',
|
||||
'description',
|
||||
|
||||
Reference in New Issue
Block a user