-
-
Save seyedsahil/585b97c60dde0b0ed38a5ecf156d6567 to your computer and use it in GitHub Desktop.
Web controller for index page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.sydlabz.demo; | |
import org.springframework.stereotype.Controller; | |
import org.springframework.web.bind.annotation.GetMapping; | |
@Controller | |
public class IndexPageController { | |
@GetMapping("/") | |
public String onIndexPage() { | |
return "index"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment