mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-10-17 21:03:00 -04:00
Minor fix
This commit is contained in:
@@ -15,10 +15,12 @@ class SectionRepository
|
||||
|
||||
public function create($title, $layout)
|
||||
{
|
||||
return Section::create([
|
||||
'title' => $title,
|
||||
'layout' => $layout,
|
||||
]);
|
||||
$section = new Section();
|
||||
$section->title = $title;
|
||||
$section->layout = $layout;
|
||||
$section->save();
|
||||
|
||||
return $section;
|
||||
}
|
||||
|
||||
public function update($id, $title, $layout)
|
||||
|
||||
Reference in New Issue
Block a user