package Ġde . mr tn l hm nn . ber lin apple . ui Ċ Ċ import Ġde . mr tn l hm nn . ber lin apple . Ber lin apple Config Ċ import Ġde . mr tn l hm nn . ber lin apple . data . Day Repo Ċ import Ġorg . springframework . stereotype . Controller Ċ import Ġorg . springframework . ui . Model Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ Ċ @ Controller Ċ class ĠIndex Controller ( val Ġday Repo : ĠDay Repo , Ġval Ġconfig : ĠBer lin apple Config ) Ġ{ ĊĠĠĠ Ġ@ RequestMapping ("/") ĊĠĠĠ Ġfun Ġindex ( model : ĠModel ): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġmodel . addAttribute (" build Version ", Ġconfig . build Version ) ĊĠĠĠĠĠĠĠ Ġmodel . addAttribute (" build Date ", ĠĠĠ Ġconfig . build Date ) ĊĠĠĠĠĠĠĠ Ġreturn Ġ" index " ĊĠĠĠ Ġ} Ċ } Ċ