/**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function create()
 {
     $species = Species::all()->toArray();
     $species = array_pluck($species, 'name', 'id');
     return view('dash.create')->with(['species' => $species]);
 }
 public function index()
 {
     return Species::all();
 }
 public function saveSettings(Request $request)
 {
     Species::create($request->all());
     $species = Species::all();
     return view('dash.settings')->with(['species' => $species]);
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $species = \App\Species::all();
     return view('species.index', compact('species'));
 }