content on faq page

This commit is contained in:
Olivier Legat 2021-04-28 17:45:16 +02:00
parent 6184340476
commit 8599f4efeb

View file

@ -38,7 +38,8 @@ class IndexController extends Controller
public function faq(Request $request)
{
$content = Content::where('key', 'faq')->first();
$faq = Faq::all();
return view('faq', compact('faq'));
return view('faq', compact('faq','content'));
}
}