/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view('contact/index', ['user' => Auth::user(), 'contacts' => Contactform::all()]); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view('contactform/index', ['contacts' => Contactform::all()]); }