Fix translation yet forced on tags

This commit is contained in:
Ludovic CANDELLIER
2021-08-26 13:42:58 +02:00
parent 32c532d49b
commit 04685cc7dc
2 changed files with 1 additions and 2 deletions

View File

@@ -3,11 +3,9 @@
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
use Spatie\Translatable\HasTranslations;
class Tag extends Model
{
use HasTranslations;
protected $guarded = ['id'];
public $translatable = ['name'];