App\Http\Controllers\Quarx\FaqController::all PHP Method

all() public method

Display all Faq entries.
public all ( ) : Response
return Response
    public function all()
    {
        $faqs = $this->faqRepository->published();
        if (empty($faqs)) {
            abort(404);
        }
        return view('quarx-frontend::faqs.all')->with('faqs', $faqs);
    }
FaqController