source: source/freeparkingspace/src/main/java/com/proekt/Controller/Home.java@ 31d67c0

Last change on this file since 31d67c0 was 31d67c0, checked in by zlatko2810 <zlatko.stojanovski@…>, 22 months ago

proekt

  • Property mode set to 100644
File size: 466 bytes
Line 
1package com.proekt.Controller;
2
3import org.springframework.stereotype.Controller;
4import org.springframework.ui.Model;
5import org.springframework.web.bind.annotation.GetMapping;
6import org.springframework.web.bind.annotation.RequestMapping;
7
8@Controller
9@RequestMapping(value={"/", "/home"})
10public class Home{
11
12 @GetMapping
13 public String getViewHome(Model model) {
14
15 model.addAttribute("bodyContent","home");
16 return "master-template";
17 }
18
19}
Note: See TracBrowser for help on using the repository browser.