main
Last change
on this file since 1dd9226 was 1dd9226, checked in by HristijanMitic00 <hristijan.mitic.01@…>, 17 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
409 bytes
|
Rev | Line | |
---|
[1dd9226] | 1 | package project.fmo.app.projcetfmo.Web;
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 | import org.springframework.stereotype.Controller;
|
---|
| 5 | import org.springframework.ui.Model;
|
---|
| 6 | import org.springframework.web.bind.annotation.GetMapping;
|
---|
| 7 | import org.springframework.web.bind.annotation.RequestMapping;
|
---|
| 8 |
|
---|
| 9 | @Controller
|
---|
| 10 | @RequestMapping({"/","/home"})
|
---|
| 11 | public class StoreController {
|
---|
| 12 |
|
---|
| 13 |
|
---|
| 14 | @GetMapping
|
---|
| 15 | public String getHomePage(){
|
---|
| 16 | return "home";
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.