Skip to content
Snippets Groups Projects
Commit 4e65c85a authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Consistently use lower case for API paths

parent 6743bf1d
Branches
Tags
No related merge requests found
......@@ -89,7 +89,7 @@ public class LecturerQuestionController extends PaginationController {
}
}
@RequestMapping(value = "/{questionId}/startNewPiRound", method = RequestMethod.POST)
@RequestMapping(value = "/{questionId}/startnewpiround", method = RequestMethod.POST)
public void startPiRound(
@PathVariable final String questionId,
@RequestParam(value = "time", defaultValue = "0", required = false) final int time
......@@ -102,14 +102,14 @@ public class LecturerQuestionController extends PaginationController {
}
}
@RequestMapping(value = "/{questionId}/cancelDelayedPiRound", method = RequestMethod.POST)
@RequestMapping(value = "/{questionId}/canceldelayedpiround", method = RequestMethod.POST)
public void cancelPiRound(
@PathVariable final String questionId
) {
questionService.cancelPiRoundChange(questionId);
}
@RequestMapping(value = "/{questionId}/resetPiRoundState", method = RequestMethod.POST)
@RequestMapping(value = "/{questionId}/resetpiroundstate", method = RequestMethod.POST)
public void resetPiQuestion(
@PathVariable final String questionId
) {
......
......@@ -58,7 +58,7 @@ public class WelcomeController extends AbstractController {
return new HashMap<String, Object>();
}
@RequestMapping(value = "/checkFrameOptionsHeader", method = RequestMethod.GET)
@RequestMapping(value = "/checkframeoptionsheader", method = RequestMethod.GET)
@ResponseStatus(HttpStatus.OK)
public void checkFrameOptionsHeader(
@RequestParam(required = true) final String url
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment