コード例 #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $practicalSkills = PracticalSkill::orderBy("order", "asc")->get(["name", "rank"]);
     $categories = Category::splitInHalf();
     $languages = Language::visible()->get();
     $records = History::visible()->get();
     $configs = Config::getConfigs(['currently-learning', 'resume']);
     return view('resume.index', compact('practicalSkills', 'categories', 'languages', 'records', 'configs'));
 }