@@ -0,0 +1,951 @@
+/**%0A * Created by Kepa on 29/05/2016.%0A */%0Apackage com.heroku.demo;%0A%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Controller;%0Aimport org.springframework.ui.ModelMap;%0Aimport org.springframework.validation.BindingResult;%0Aimport org.springframework.web.bind.annotation.ModelAttribute;%0Aimport org.springframework.web.bind.annotation.PathVariable;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RequestMethod;%0Aimport org.springframework.web.servlet.HandlerMapping;%0A%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.validation.Valid;%0Aimport java.util.List;%0A%0A%0A@Controller%0A@RequestMapping(%22/Sudotris%22)%0Apublic class SudotrisController %7B%0A%0A%0A    @Autowired%0A    public SudotrisController(RecordRepository repository) %7B%0A%0A    %7D%0A%0A    @RequestMapping(%22/foo/%7Bid%7D%22)%0A    public int foo(@PathVariable(%22id%22) int id) %7B%0A        return id;%0A    %7D%0A%7D%0A

test rest