Skip to content

Commit

Permalink
modified the function name updateAdmin to updateCity
Browse files Browse the repository at this point in the history
  • Loading branch information
leedarKen committed Feb 19, 2016
1 parent 33086b7 commit 3df5c13
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ public String addAdmin(City city) {
* @param city
* @return
*/
@RequestMapping(value="/updateAdmin", method=RequestMethod.POST)
public String updateAdmin(City city) {
@RequestMapping(value="/updateCity", method=RequestMethod.POST)
public String updateCity(City city) {
city.setUpdateTime(new java.sql.Timestamp(System.currentTimeMillis()));
service.update(city);
return "redirect:/admin/admin/list";
return "redirect:/admin/city/list";
}

/**
Expand Down

0 comments on commit 3df5c13

Please sign in to comment.