/** * Display a listing of the resource. * * @return Response */ public function index() { $opt = Opt::all(); return \Illuminate\Support\Facades\View::make('opt.index', compact('opt')); }