fixed stats api view
parent
a7c92524f3
commit
4276a14978
|
@ -27,7 +27,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
@PreAuthorize("hasRole('ROLE_USER')")
|
@PreAuthorize("hasRole('ROLE_USER')")
|
||||||
@RequestMapping("stats")
|
@RequestMapping("/api/stats")
|
||||||
public class StatsAPI {
|
public class StatsAPI {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -40,7 +40,7 @@ public class StatsAPI {
|
||||||
|
|
||||||
m.put("entity", e);
|
m.put("entity", e);
|
||||||
|
|
||||||
return "jsonEntityview";
|
return "jsonEntityView";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue