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

Added missing redirection for "/session/{sessionKey}/myanswers" to

LegacyController.
parent f8ffffc6
No related merge requests found
...@@ -82,6 +82,16 @@ public class LegacyController extends AbstractController { ...@@ -82,6 +82,16 @@ public class LegacyController extends AbstractController {
return String.format("forward:/question/bylecturer/answercount?sessionkey=%s", sessionKey); return String.format("forward:/question/bylecturer/answercount?sessionkey=%s", sessionKey);
} }
@RequestMapping(value = "/session/{sessionKey}/myansers")
public final String redirectQuestionByLecturerMyAnswers(
@PathVariable final String sessionKey,
final HttpServletResponse response
) {
response.addHeader("X-Deprecated-API", "1");
return String.format("forward:/question/bylecturer/myanswers?sessionkey=%s", sessionKey);
}
/* generalized routes */ /* generalized routes */
......
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