Fix plucking of tags

This commit is contained in:
James Brooks
2019-07-12 10:27:50 +01:00
parent 29d640e74b
commit 06af61b8c5

View File

@@ -53,7 +53,7 @@ class ComponentPresenter extends BasePresenter implements Arrayable
*/ */
public function tags() public function tags()
{ {
return $this->wrappedObject->tags->pluck('tag.name', 'tag.slug'); return $this->wrappedObject->tags->pluck('name', 'slug');
} }
/** /**