Skip to content

Commit 9233395

Browse files
committed
fix scope user
1 parent efa2c09 commit 9233395

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/controllers/application_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def cache_forums_unread_counts
6060

6161
@unread_private_messages = if user_signed_in?
6262
Thredded::PrivateTopic
63-
.for_user(thredded_current_user)
64-
.unread(thredded_current_user)
63+
.for_user(current_user)
64+
.unread(current_user)
6565
.count
6666
else
6767
0

0 commit comments

Comments
 (0)