Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Matúš Valko
Online Gaming Management System
Commits
2575a085
Commit
2575a085
authored
May 20, 2022
by
Marek Kadlečík
Browse files
Set view controller name to home
parent
24134439
Pipeline
#141784
passed with stage
in 1 minute
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gaming-spring-mvc/src/main/java/cz/muni/fi/pa165/mvc/config/MyConfig.java
View file @
2575a085
...
...
@@ -27,7 +27,7 @@ public class MyConfig implements WebMvcConfigurer {
@Override
public
void
addViewControllers
(
ViewControllerRegistry
registry
)
{
registry
.
addViewController
(
"/"
).
setViewName
(
"
index
"
);
registry
.
addViewController
(
"/"
).
setViewName
(
"
home
"
);
}
@Override
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment