- Timestamp:
- 02/04/23 18:45:35 (22 months ago)
- Branches:
- master
- Children:
- 27adfc8
- Parents:
- 2269653
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/web/HomeController.java
r2269653 radf250d 4 4 import com.example.moviezone.service.FilmService; 5 5 import org.springframework.stereotype.Controller; 6 import org.springframework.ui.Model; 7 import org.springframework.web.bind.annotation.GetMapping; 6 8 import org.springframework.web.bind.annotation.RequestMapping; 7 9 … … 16 18 } 17 19 20 @GetMapping 21 public String getHomePage(Model model) { 22 model.addAttribute("bodyContent", "home"); 23 return "master-template"; 24 } 25 18 26 19 27 }
Note:
See TracChangeset
for help on using the changeset viewer.