Skip to content

Commit

Permalink
fix landing page issues - add view controller for landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
kacetal committed Nov 23, 2022
1 parent 8f96f0c commit f3e8ac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/hexlet/typoreporter/config/WebConfig.java
Expand Up @@ -10,5 +10,6 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addViewControllers(ViewControllerRegistry registry) {
registry.addViewController("/login").setViewName("account/login");
registry.addViewController("/landing").setViewName("landing");
}
}

0 comments on commit f3e8ac7

Please sign in to comment.