Created
August 5, 2021 00:59
-
-
Save jordkris/df51bb4f365f9310ce21daace99e142b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.myproject.demo.controller; | |
import org.springframework.stereotype.Controller; | |
import org.springframework.ui.Model; | |
import org.springframework.web.bind.annotation.GetMapping; | |
@Controller | |
public class DemoController<ModelMapper> { | |
private ModelMapper modelMapper; | |
@GetMapping("/") | |
public String index(Model model) { | |
return "index"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment