Improvements: fix duplicate seeder, add missing seeders, remove redundant $with, add migration down(), optimize queries
This commit is contained in:
1 parent
9bb2e4246b
commit
6eeb85fcf2
9 files changed
+35
-15
No files matched your search
@@ -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