content on faq page
This commit is contained in:
parent
6184340476
commit
8599f4efeb
1 changed files with 2 additions and 1 deletions
|
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue