/** * Display a listing of the resource. * * @return Response */ public function index() { $this->data['Tests'] = Test::all(); return view('admin.tests.list', $this->data); }