Fix plucking of tags
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user