We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67975fe commit ced262bCopy full SHA for ced262b
src/main/java/com/baghaniya/springsecurity/controller/CarrierController.java renamed to src/main/java/com/baghaniya/springsecurity/controller/CustomerController.java
@@ -9,13 +9,13 @@
9
* Created by RAHUL on Jul, 2018
10
*/
11
@RestController
12
-@RequestMapping(value = "/config")
13
-public class CarrierController {
+@RequestMapping(value = "/app")
+public class CustomerController {
14
15
- @RequestMapping(value = "/carriers", method = RequestMethod.GET)
+ @RequestMapping(value = "/customers", method = RequestMethod.GET)
16
@PreAuthorize("hasRole('USER')")
17
- public String getCarrier(){
18
- return "carriers";
+ public String getCustomers(){
+ return "customers";
19
}
20
21
0 commit comments