/** * Created by Dara on 8/12/2015 * the staration index page */ public function index() { $users = User::with('roles')->paginate(20); $latestRatings = Rate::latest()->first(); return view('admin.staration.index', compact('users', 'latestRatings'))->with(['title' => 'Users Rating']); }