Skip to content

Commit 7a775fa

Browse files
committed
not an instance var here
1 parent 3f6a6a1 commit 7a775fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/comment.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def self.arrange_for_user(user)
149149
end
150150
end
151151

152-
Rails.cache.delete("user:#{@user.id}:unread_replies") if clear_replies_cache
152+
Rails.cache.delete("user:#{user.id}:unread_replies") if clear_replies_cache
153153

154154
ordered
155155
end

0 commit comments

Comments
 (0)