fixed descriptions
This commit is contained in:
parent
5bf30c4649
commit
e3db4613b4
|
|
@ -39,7 +39,7 @@ class PageRepo
|
||||||
public static function getDescriptionsByLocale($pageId)
|
public static function getDescriptionsByLocale($pageId)
|
||||||
{
|
{
|
||||||
$page = self::findByPageId($pageId);
|
$page = self::findByPageId($pageId);
|
||||||
return $page->descriptions->keyBy('locale');
|
return $page->descriptions->keyBy('locale')->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue