mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 07:12:33 +00:00
fix: tags
This commit is contained in:
1 parent
bc31df6fb2
commit
0b5baf60a5
9 files changed
+70
-40
No files matched your search
+3
-4
@@ -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');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user