app/Http/Controllers/AdminHistoryController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $histories = History::orderBy('sort-index')->paginate(10);
        return view('admin.histories.index', compact('histories'));
    }
public function index ( ) { $ histories = History :: orderBy ( 'sort-index' ) -> paginate ( 10 ) ; return view ( 'admin.histories.index' , compact ( 'histories' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//