Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
f4b6f5a7
Commit
f4b6f5a7
authored
12 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Added missing redirection for "/session/{sessionKey}/myanswers" to
LegacyController.
parent
f8ffffc6
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/controller/LegacyController.java
+10
-0
10 additions, 0 deletions
...main/java/de/thm/arsnova/controller/LegacyController.java
with
10 additions
and
0 deletions
src/main/java/de/thm/arsnova/controller/LegacyController.java
+
10
−
0
View file @
f4b6f5a7
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment