package org.jeasy.jobs.admin.web;

import org.springframework.web.bind.annotation.ModelAttribute;

public class AbstractController {

    @ModelAttribute("version")
    public String version() {
        // TODO get current version
        return "0.3-SNAPSHOT";
    }
}

@@ -99,16 +99,25 @@
 %0Apublic 
+abstract 
 class Ab
@@ -269,11 +269,68 @@
 %22;%0A    %7D
+%0A%0A    @ModelAttribute%0A    public abstract String title();
 %0A%7D%0A

add method to get page title as model attribute