id) ->where('slug', $slug) ->firstOrFail(); $publications = $term->publications() ->published() ->forChannel($channel) ->with(['post.author', 'taxonomyTerms']) ->latest('published_at') ->paginate(12); return response()->view('theme::taxonomy.show', compact('term', 'publications')); } }