Last change
on this file was 31d67c0, checked in by zlatko2810 <zlatko.stojanovski@…>, 2 years ago |
proekt
|
-
Property mode
set to
100644
|
File size:
472 bytes
|
Line | |
---|
1 | package com.proekt.Controller;
|
---|
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("/success")
|
---|
11 | public class SuccessController {
|
---|
12 | @GetMapping
|
---|
13 | public String getViewHome(Model model) {
|
---|
14 | model.addAttribute("bodyContent","success");
|
---|
15 | return "master-template";
|
---|
16 | }
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.