commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.spring.web.controller;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/endpoint")
|
||||
public class EndPointController {
|
||||
|
||||
@GetMapping
|
||||
public String endpoint() {
|
||||
return "pages/endpoint/endpoint";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user