You've already forked Atomcms-edit
Improvements: fix duplicate seeder, add missing seeders, remove redundant $with, add migration down(), optimize queries
This commit is contained in:
@@ -29,6 +29,8 @@ class ArticleController extends Controller
|
||||
|
||||
public function show(WebsiteArticle $article): View
|
||||
{
|
||||
$article->load('user:id,username,look');
|
||||
|
||||
$reactions = $article->reactions()
|
||||
->with('user:id,username')
|
||||
->get();
|
||||
|
||||
Reference in New Issue
Block a user