We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99a0bd2 commit 2543069Copy full SHA for 2543069
1 file changed
src/main/java/ci/controller/CommitController.java
@@ -30,7 +30,7 @@ public CommitController(Status status) {
30
* @return view name
31
*/
32
@GetMapping({"/commit", "/commit/{sha}"})
33
- public String commit(@PathVariable(value = "sha", required = false) String sha, Model model) {
+ public String commitPathVariable(value = "sha", required = false) String sha, Model model) {
34
if (sha == null) {
35
model.addAttribute("latestCommit", status.getLatest().orElse(null));
36
} else {
0 commit comments