public function index() { $funds = Fund::orderBy('updated_at', 'desc')->get(); return View::make('Middle.Web.Fund.index', compact('funds')); }
public function index() { $funds = Fund::orderBy('updated_at', 'desc')->get(); return response(['data' => $funds, 'status' => 'success', 'message' => '']); }