Skip to content

Commit ced262b

Browse files
rahulrahul
rahul
authored and
rahul
committed
first commit
1 parent 67975fe commit ced262b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/com/baghaniya/springsecurity/controller/CarrierController.java renamed to src/main/java/com/baghaniya/springsecurity/controller/CustomerController.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
* Created by RAHUL on Jul, 2018
1010
*/
1111
@RestController
12-
@RequestMapping(value = "/config")
13-
public class CarrierController {
12+
@RequestMapping(value = "/app")
13+
public class CustomerController {
1414

15-
@RequestMapping(value = "/carriers", method = RequestMethod.GET)
15+
@RequestMapping(value = "/customers", method = RequestMethod.GET)
1616
@PreAuthorize("hasRole('USER')")
17-
public String getCarrier(){
18-
return "carriers";
17+
public String getCustomers(){
18+
return "customers";
1919
}
2020

2121
}

0 commit comments

Comments
 (0)