/** * Retrieve and show an award based on the unique key * @param string $key * @return View */ public function showKey($key) { $award = Award::with('groupedRecipients')->where('key', $key)->firstOrFail(); return view('award.show')->with('award', $award); }