|
|
|
@ -7,7 +7,7 @@ class Users::PrivateMessageDetailsController < Users::BaseController
|
|
|
|
|
messages = observed_user.private_messages.without_deleted.where(target: target_user)
|
|
|
|
|
|
|
|
|
|
@count = messages.count
|
|
|
|
|
@messages = messages.order(send_time: :desc).includes(sender: :user_extension)
|
|
|
|
|
@messages = paginate messages.order(send_time: :desc).includes(sender: :user_extension)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
private
|
|
|
|
|