comments
This commit is contained in:
@@ -6,6 +6,7 @@ use Illuminate\Support\Str;
|
||||
|
||||
use App\Repositories\Core\Tag;
|
||||
use App\Repositories\Core\Media;
|
||||
use App\Repositories\Core\Comments;
|
||||
use App\Repositories\Botanic\Species;
|
||||
use App\Repositories\Botanic\Varieties;
|
||||
use App\Models\Shop\Article;
|
||||
@@ -37,6 +38,10 @@ class Articles
|
||||
$data['article']['categories'] = self::getCategoriesByArticle($article);
|
||||
$data['article']['tags'] = self::getTagsByArticle($article);
|
||||
// $data['article']['prices'] = self::getPricesByArticle($article);
|
||||
|
||||
// $data['datatables']['comments'] = Comments::getDatatable();
|
||||
$data['article']['comments'] = $article->comments;
|
||||
|
||||
self::getMeta($data);
|
||||
return $data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user