fix: tags

This commit is contained in:
Andras Bacsai committed 2024-02-03 12:39:07 +01:00
1 parent bc31df6fb2
commit 0b5baf60a5
9 files changed
+70 -40

No files matched your search

+3 -4
View File
@@ -24,9 +24,8 @@ class Tag extends BaseModel
{
return $this->morphedByMany(Application::class, 'taggable');
}
public function resources() {
return $this->applications();
public function services()
{
return $this->morphedByMany(Service::class, 'taggable');
}
}