Changeset b5ce654 for src/main/java/com
- Timestamp:
- 02/06/23 19:28:42 (23 months ago)
- Branches:
- master
- Children:
- 0fb69cc
- Parents:
- a69d48c
- Location:
- src/main/java/com/example/moviezone
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/WebSecurityConfig.java
ra69d48c rb5ce654 40 40 .loginPage("/login").permitAll() 41 41 .failureUrl("/login?error=BadCredentials") 42 .defaultSuccessUrl("/ products", true)42 .defaultSuccessUrl("/home", true) 43 43 .and() 44 44 .logout() -
src/main/java/com/example/moviezone/web/HomeController.java
ra69d48c rb5ce654 56 56 List<String> genres= List.of(film.getGenre().split(",")); 57 57 double r=customerRatesFilmService.avg_rating(film.getId_film()); 58 model.addAttribute("rating",r); 58 59 model.addAttribute("genres", genres); 59 60 model.addAttribute("bodyContent", "film");
Note:
See TracChangeset
for help on using the changeset viewer.