Skip to content

Commit

Permalink
Merge pull request EveryUniv#72 from EveryUniv/dev
Browse files Browse the repository at this point in the history
fix: Thymeleaf 경로 일부 수정
  • Loading branch information
gutanbug authored Jan 24, 2024
2 parents 0fce3f1 + 4841d52 commit db18fc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
@RequiredArgsConstructor
@Slf4j
public class ChatRoomController {
@Autowired
private ChatService chatService;
private final ChatService chatService;

private final UserService userService;

Expand All @@ -39,7 +38,7 @@ public String goChatRoom(Model model, AppAuthentication auth) {

log.info("SHOW ALL ChatList {}", chatService.findAllRoom());

return "/page/chatting/roomlist";
return "page/chatting/roomlist";
}

/**
Expand Down Expand Up @@ -84,7 +83,7 @@ public String roomDetail(Model model, String roomId, AppAuthentication auth){
model.addAttribute("user", userService.getUserInfoForChatting(auth.getUserId()));
model.addAttribute("room", chatService.findRoomById(roomId));

return "/page/chatting/chatroom";
return "page/chatting/chatroom";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class SecurityConfig {
private final CustomAuthenticationEntryPoint customAuthenticationEntryPoint;

private static final String[] PUBLIC_URI = {
"/swagger-ui/**", "/api-docs/**", "/test/**", "/chatRoom/**"
"/swagger-ui/**", "/api-docs/**", "/test/**"
};

private static final String[] ADMIN_URI = {
Expand Down

0 comments on commit db18fc8

Please sign in to comment.