diff options
| author | Mavlushechka <mavlushechka@gmail.com> | 2021-12-08 23:08:54 +0500 | 
|---|---|---|
| committer | Mavlushechka <mavlushechka@gmail.com> | 2021-12-08 23:08:54 +0500 | 
| commit | ede22cd2b0d2ae34d127eaabe789ba825287dbd3 (patch) | |
| tree | 7d0191faaa589ab0d5d6f4b09afe8e58bfa9eaf1 | |
| parent | 8d284e1690faba5c0f834a07bac81e1ee00d515f (diff) | |
Add slashes in views
| -rw-r--r--[-rwxr-xr-x] | src/main/java/com/mavlushechka/studentdatabase/config/MvcConfig.java | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/main/java/com/mavlushechka/studentdatabase/config/MvcConfig.java b/src/main/java/com/mavlushechka/studentdatabase/config/MvcConfig.java index ac7abb8..d18553b 100755..100644 --- a/src/main/java/com/mavlushechka/studentdatabase/config/MvcConfig.java +++ b/src/main/java/com/mavlushechka/studentdatabase/config/MvcConfig.java @@ -14,8 +14,8 @@ public class MvcConfig implements WebMvcConfigurer {      }      public void addViewControllers(ViewControllerRegistry registry) { -        registry.addViewController("/authentication/login").setViewName("authentication/login"); -        registry.addViewController("/authentication/change-password").setViewName("authentication/change-password"); +        registry.addViewController("/authentication/login").setViewName("/authentication/login"); +        registry.addViewController("/authentication/change-password").setViewName("/authentication/change-password");          registry.addViewController("/admin-panel/add-users").setViewName("/admin-panel/add-users");          registry.addViewController("/admin-panel/information/search").setViewName("/admin-panel/information/search");      } |