@ RequestMapping ( value = "api/edit/repeatNumber" , method = RequestMethod . POST ) public @ ResponseBody String updateRepeatNumber ( Model model , int newNum , int path_id , @ RequestParam ( defaultValue = Constants . PROFILE_CLIENT_DEFAULT_ID ) String clientUUID ) throws Exception { logger . info ( "want to update repeat number of path_id={}, to newNum={}" , path_id , newNum ) ; editService . updateRepeatNumber ( newNum , path_id , clientUUID ) ; return null ; }
Calls a method from editService to update the repeat number for a path