/** * Display a listing of the resource. * * @return Response */ public function index() { $forms = Form::with('type')->get(); return view('form.index', compact('forms')); }