Changeset b5ce654 for src/main/java


Ignore:
Timestamp:
02/06/23 19:28:42 (22 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
0fb69cc
Parents:
a69d48c
Message:

Style updates

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  
    4040                .loginPage("/login").permitAll()
    4141                .failureUrl("/login?error=BadCredentials")
    42                 .defaultSuccessUrl("/products", true)
     42                .defaultSuccessUrl("/home", true)
    4343                .and()
    4444                .logout()
  • src/main/java/com/example/moviezone/web/HomeController.java

    ra69d48c rb5ce654  
    5656        List<String> genres= List.of(film.getGenre().split(","));
    5757        double r=customerRatesFilmService.avg_rating(film.getId_film());
     58        model.addAttribute("rating",r);
    5859        model.addAttribute("genres", genres);
    5960        model.addAttribute("bodyContent", "film");
Note: See TracChangeset for help on using the changeset viewer.