Changeset 204464d for src/main/java/edu/gjoko/schedlr/config
- Timestamp:
- 10/18/22 00:50:33 (2 years ago)
- Branches:
- master
- Children:
- 763289e
- Parents:
- 401a211
- Location:
- src/main/java/edu/gjoko/schedlr/config
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/edu/gjoko/schedlr/config/AppSecurityConfig.java
r401a211 r204464d 47 47 .authorizeRequests() 48 48 .antMatchers("/login*").permitAll() 49 .antMatchers("/register_customer").permitAll() 50 .antMatchers("/register_business").permitAll() 49 51 .antMatchers("/css/**").permitAll() 50 52 .antMatchers("/anonymous*").anonymous() -
src/main/java/edu/gjoko/schedlr/config/MvcConfig.java
r401a211 r204464d 11 11 public void addViewControllers(ViewControllerRegistry registry) { 12 12 registry.addViewController("/login").setViewName("login"); 13 registry.addViewController("/register /user").setViewName("register_user");14 registry.addViewController("/register /business").setViewName("register_business");13 registry.addViewController("/register_customer").setViewName("register_customer"); 14 registry.addViewController("/register_business").setViewName("register_business"); 15 15 registry.addViewController("/homepage").setViewName("homepage"); 16 16 }
Note:
See TracChangeset
for help on using the changeset viewer.