app/Http/Controllers/MensagensController.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 indexFrontend()
    {
        $mensagens = Contactos::all();
        return view('paginas.frontend.contactos', compact('mensagens'));
    }
public function indexFrontend ( ) { $ mensagens = Contactos :: all ( ) ; return view ( 'paginas.frontend.contactos' , compact ( 'mensagens' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .