|
|
|
@ -52,7 +52,7 @@ class MessagesController < ApplicationController
|
|
|
|
|
@messages = @messages.visible
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@messages = @messages.order("created_on desc")
|
|
|
|
|
@messages = @messages.order("messages.created_on desc")
|
|
|
|
|
@messages = @messages.page(@page).per(@page_size)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|