mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-06-27 02:47:31 +08:00
add section taxonomy
This commit is contained in:
@@ -22,6 +22,11 @@ class CreateSection extends CreateRecord
|
||||
}
|
||||
}
|
||||
}
|
||||
return array_filter($data);
|
||||
return $data;
|
||||
}
|
||||
|
||||
protected function getRedirectUrl(): string
|
||||
{
|
||||
return static::$resource::getUrl('index');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,6 +29,11 @@ class EditSection extends EditRecord
|
||||
}
|
||||
}
|
||||
}
|
||||
return array_filter($data);
|
||||
return $data;
|
||||
}
|
||||
|
||||
protected function getRedirectUrl(): ?string
|
||||
{
|
||||
return static::$resource::getUrl('index');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,4 +17,6 @@ class ListSections extends PageList
|
||||
Actions\CreateAction::make(),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user