main
Last change
on this file since eef07ff was f0232fb, checked in by trajchevaM <118018439+trajchevaM@…>, 19 months ago |
login and home
|
-
Property mode
set to
100644
|
File size:
455 bytes
|
Line | |
---|
1 | package finki.paw5.web.controllers;
|
---|
2 |
|
---|
3 | import org.springframework.stereotype.Controller;
|
---|
4 | import org.springframework.web.bind.annotation.GetMapping;
|
---|
5 | import org.springframework.web.bind.annotation.RequestMapping;
|
---|
6 |
|
---|
7 | @Controller
|
---|
8 | @RequestMapping("/home")
|
---|
9 | public class HomeController {
|
---|
10 |
|
---|
11 | @GetMapping
|
---|
12 | public String getHomePage(){
|
---|
13 | return "home";
|
---|
14 | }
|
---|
15 | @GetMapping("/aboutUs")
|
---|
16 | public String getSuccessPage(){
|
---|
17 | return "/aboutUs";
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.