Ejemplo n.º 1
0
 /**
  * Show the application dashboard to the user.
  *
  * @return Response
  */
 public function index()
 {
     // the app_data table only has one row anyway
     $app_data = AppData::first();
     $tables = array_flip(['ClassJob', 'ClassJobCategory', 'PlaceName', 'ItemUIKind', 'ItemUICategory', 'ItemCategory', 'ItemSeries', 'ItemSpecialBonus', 'BaseParam', 'Item', 'Race', 'BNpcName', 'ENpcResident', 'Shop', 'RecipeElement', 'NotebookDivision', 'Recipe', 'GuardianDeity']);
     foreach ($tables as $table => $val) {
         $tables[$table] = FileHandler::get_version($table);
     }
     return view('osmose.index', compact('app_data', 'tables'));
 }