type !== $section ) abort(404); return view('entries.show', compact('entry', 'section')); } }