Last change
on this file since 850b344 was 850b344, checked in by Tamara Simikj <tamara.simic12@…>, 2 years ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
398 bytes
|
Line | |
---|
1 | package com.project.beautycenter.web;
|
---|
2 |
|
---|
3 | import org.springframework.stereotype.Controller;
|
---|
4 | import org.springframework.web.bind.annotation.GetMapping;
|
---|
5 |
|
---|
6 | @Controller
|
---|
7 | public class HomeController {
|
---|
8 |
|
---|
9 | @GetMapping({"/", "/home"})
|
---|
10 | public String showHomePage() {
|
---|
11 |
|
---|
12 | return "layout.html";
|
---|
13 | }
|
---|
14 | @GetMapping({"/aboutUs"})
|
---|
15 | public String about_us() {
|
---|
16 |
|
---|
17 | return "about_us.html";
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.