Skip to content

Commit

Permalink
Merge branch 'release/6.0.27'
Browse files Browse the repository at this point in the history
* release/6.0.27:
  compile assets
  fixes #956
  • Loading branch information
austintoddj committed Mar 23, 2021
2 parents 722235e + ac033e6 commit 0fb2138
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 107 deletions.
4 changes: 2 additions & 2 deletions resources/stubs/controllers/CanvasUiController.stub
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class CanvasUiController extends Controller
{
$tag = Tag::firstWhere('slug', $slug);

return $tag ? response()->json($tag->posts()->with('topic')->paginate(), 200) : response()->json(null, 200);
return $tag ? response()->json($tag->posts()->with('topic', 'user')->paginate(), 200) : response()->json(null, 200);
}

/**
Expand Down Expand Up @@ -119,7 +119,7 @@ class CanvasUiController extends Controller
{
$topic = Topic::firstWhere('slug', $slug);

return $topic ? response()->json($topic->posts()->with('topic')->paginate(), 200) : response()->json(null, 200);
return $topic ? response()->json($topic->posts()->with('topic', 'user')->paginate(), 200) : response()->json(null, 200);
}

/**
Expand Down
Loading

0 comments on commit 0fb2138

Please sign in to comment.