Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import org.springframework.stereotype.Controller
import org.springframework.ui.Model
import org.springframework.ui.set
import org.springframework.web.bind.annotation.GetMapping
class HtmlController {
fun showBlogSite(model: Model): String {
model["title"] = "Blog"
return "blog"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment