tag settings

This commit is contained in:
stasbilay02 committed 2024-11-27 16:19:19 +03:00
1 parent 6d9d19ce36
commit bba35c7b14
8 files changed
+21 -5

No files matched your search

+1
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();