app/Http/Controllers/FAQController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $perguntas = Perguntas::all();
        $categorias = CategoriaPergunta::all();
        return view('paginas.backend.faq.index', compact('perguntas', 'categorias'));
    }
public function index ( ) { $ perguntas = Perguntas :: all ( ) ; $ categorias = CategoriaPergunta :: all ( ) ; return view ( 'paginas.backend.faq.index' , compact ( 'perguntas' , 'categorias' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .