tag settings

This commit is contained in:
2024-11-27 16:19:19 +03:00
parent 6d9d19ce36
commit bba35c7b14
8 changed files with 21 additions and 5 deletions

View File

@ -71,6 +71,7 @@ class TagModule extends Module
{
$tag = new Tag();
$tag->label = $request->post('tag');
$tag->entity = $entity;
$tag->status = Tag::ACTIVE_STATUS;
$tag->slug = Slug::createSlug($request->post('tag'), $model);
$tag->save();